mirror of
https://github.com/leozide/leocad
synced 2024-12-27 21:58:37 +01:00
10 lines
242 B
GLSL
10 lines
242 B
GLSL
LC_VERTEX_INPUT vec3 VertexPosition;
|
|
LC_VERTEX_OUTPUT vec3 PixelNormal;
|
|
|
|
uniform mat4 WorldViewProjectionMatrix;
|
|
|
|
void main()
|
|
{
|
|
PixelNormal = normalize(VertexPosition);
|
|
gl_Position = WorldViewProjectionMatrix * vec4(VertexPosition, 1.0);
|
|
}
|