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

object_outline_prepass_frag.glsl « shaders « modes « draw « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c3447456ea63e02566a59755d592eff740238121 (plain)
1
2
3
4
5
6
7
8
9
10
uniform int callId;
uniform int baseId;

/* using uint because 16bit uint can contain more ids than int. */
out uint outId;

void main()
{
  outId = uint(baseId + callId);
}