mirror of
https://github.com/leozide/leocad
synced 2024-12-28 22:23:35 +01:00
12 lines
272 B
Text
12 lines
272 B
Text
|
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;
|
||
|
}
|