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

gpu_shader_flat_color_frag.glsl « shaders « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1675de3d567f0cc623c6433b24e0cdd500ef8590 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef USE_GPU_SHADER_CREATE_INFO
flat in vec4 finalColor;
out vec4 fragColor;
#endif

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