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

16 lines
183 B
GLSL
Raw Normal View History

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