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_texture_vert.glsl

15 lines
200 B
GLSL

uniform mat4 ModelViewProjectionMatrix;
in vec2 u; /* active uv map */
in vec3 pos;
out vec2 uv_interp;
void main()
{
gl_Position = ModelViewProjectionMatrix * vec4(pos, 1.0);
uv_interp = u;
}