mirror of
https://github.com/leozide/leocad
synced 2024-12-28 22:23:35 +01:00
11 lines
272 B
GLSL
11 lines
272 B
GLSL
LC_VERTEX_INPUT vec3 VertexPosition;
|
|
LC_VERTEX_INPUT vec2 VertexTexCoord;
|
|
LC_VERTEX_OUTPUT vec2 PixelTexCoord;
|
|
|
|
uniform mat4 WorldViewProjectionMatrix;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = WorldViewProjectionMatrix * vec4(VertexPosition, 1.0);
|
|
PixelTexCoord = VertexTexCoord;
|
|
}
|