Files
test/source/blender/gpu/shaders/gpu_shader_2D_image_vert.glsl
2017-05-17 10:46:42 +10:00

14 lines
298 B
GLSL

uniform mat4 ModelViewProjectionMatrix;
/* Keep in sync with intern/opencolorio/gpu_shader_display_transform_vertex.glsl */
in vec2 texCoord;
in vec2 pos;
out vec2 texCoord_interp;
void main()
{
gl_Position = ModelViewProjectionMatrix * vec4(pos.xy, 0.0f, 1.0f);
texCoord_interp = texCoord;
}