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

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

#if __VERSION__ == 120
  noperspective varying vec4 finalColor;
  #define fragColor gl_FragColor
#else
  noperspective in vec4 finalColor;
  out vec4 fragColor;
#endif

void main()
{
	fragColor = finalColor;
}