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

gpu_shader_2D_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: 4d887a3780712a6865237cef8bd4d512a727395e (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef USE_GPU_SHADER_CREATE_INFO
noperspective in vec4 finalColor;
out vec4 fragColor;
#endif

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