This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/draw/modes/shaders/paint_wire_vert.glsl

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