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

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

uniform vec4 color;

#if __VERSION__ == 120
  #define fragColor gl_FragColor
#else
  out vec4 fragColor;
#endif

void main()
{
	fragColor = color;
}