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

paint_wire_vert.glsl « shaders « modes « draw « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6a800e56d94c9183ca733a1eab60787a5bd736fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

uniform mat4 ModelViewProjectionMatrix;

in vec3 pos;
in int data;

flat out int finalFlag;

void main()
{
	gl_Position = ModelViewProjectionMatrix * vec4(pos, 1.0);

	/* Temp hack for william to start using blender 2.8 for icons. Will be removed by T54910 */
	gl_Position.z -= 0.0001;

	finalFlag = data;
}