Merge branch 'master' into blender2.8
[blender.git] / source / blender / gpu / shaders / gpu_shader_flat_color_alpha_test_0_frag.glsl
1
2 flat in vec4 finalColor;
3 out vec4 fragColor;
4
5 void main()
6 {
7         if (finalColor.a > 0.0)
8                 fragColor = finalColor;
9         else
10                 discard;
11 }