Welcome to mirror list, hosted at ThFree Co, Russian Federation.

overlay_armature_stick_frag.glsl « shaders « overlay « engines « draw « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2e42cdf05174fd1fc205c0352243c6e92a15a649 (plain)
1
2
3
4
5
6
7
8

void main()
{
  float fac = smoothstep(1.0, 0.2, colorFac);
  fragColor.rgb = mix(finalInnerColor.rgb, finalWireColor.rgb, fac);
  fragColor.a = alpha;
  lineOutput = vec4(0.0);
}