Files
test/source/blender/draw/modes/shaders/paint_wire_vert.glsl
2018-05-02 15:32:59 +02:00

18 lines
309 B
GLSL

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;
}