forked from LeenkxTeam/LNXSDK
12 lines
234 B
Plaintext
12 lines
234 B
Plaintext
|
#version 450
|
||
|
|
||
|
// World to view projection matrix to correctly position the vertex on screen
|
||
|
uniform mat4 WVP;
|
||
|
|
||
|
// Position vector of the current vertex in local space
|
||
|
in vec3 pos;
|
||
|
|
||
|
void main() {
|
||
|
gl_Position = WVP * vec4(pos, 1.0);
|
||
|
}
|