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

gpu_shader_flat_color_alpha_test_0_frag.glsl « shaders « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d1a36c3ee386449c4474535b47cb55c6abcc99b1 (plain)
1
2
3
4
5
6
7
8
9
10
11

flat in vec4 finalColor;
out vec4 fragColor;

void main()
{
  if (finalColor.a > 0.0)
    fragColor = finalColor;
  else
    discard;
}