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

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

#ifndef USE_GPU_SHADER_CREATE_INFO
in vec4 finalColor;
out vec4 fragColor;
#endif

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