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: 45ba6cf4d08c23c96bd5d0bdc21a0784cd25c7d7 (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;
}