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: 0510848e4d480087eef4031432ca52600603a502 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma BLENDER_REQUIRE(gpu_shader_colorspace_lib.glsl)

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

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