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

15 lines
189 B
GLSL

uniform mat4 ModelViewProjectionMatrix;
in vec3 pos;
in int data;
flat out int finalFlag;
void main()
{
gl_Position = ModelViewProjectionMatrix * vec4(pos, 1.0);
finalFlag = data;
}