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

gpu_shader_selection_id_frag.glsl « shaders « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1f22b9cb0b4752bcb55c746e89f5470e7f9ea156 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

#ifdef UNIFORM_ID
uniform uint id;
#else
flat in uint id;
#endif

out uint fragColor;

void main()
{
  fragColor = id;
}