mirror of
https://github.com/leozide/leocad
synced 2025-01-04 23:01:43 +01:00
11 lines
242 B
Text
11 lines
242 B
Text
|
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);
|
||
|
}
|