Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
14 lines
267 B
GLSL
14 lines
267 B
GLSL
|
|
noperspective in float colorFac;
|
|
flat in vec4 finalWireColor;
|
|
flat in vec4 finalInnerColor;
|
|
|
|
out vec4 fragColor;
|
|
|
|
void main()
|
|
{
|
|
float fac = smoothstep(1.0, 0.2, colorFac);
|
|
fragColor.rgb = mix(finalInnerColor.rgb, finalWireColor.rgb, fac);
|
|
fragColor.a = 1.0;
|
|
}
|