17 lines
199 B
GLSL
Executable file
17 lines
199 B
GLSL
Executable file
#version 450
|
|
|
|
#ifdef GL_ES
|
|
precision highp float;
|
|
#endif
|
|
|
|
uniform mat4 LVWVP;
|
|
|
|
in vec3 pos;
|
|
|
|
out vec4 wvpposition;
|
|
|
|
void main() {
|
|
wvpposition = LVWVP * vec4(pos, 1.0);
|
|
gl_Position = wvpposition;
|
|
}
|