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: b4a75cc489b4346b756c8f949b1a47950a0e88ac (plain)
1
2
3
4
5
6
7
8
9
10

#ifndef USE_GPU_SHADER_CREATE_INFO
uniform vec4 color;
out vec4 fragColor;
#endif

void main()
{
  fragColor = blender_srgb_to_framebuffer_space(color);
}