17 lines
200 B
GLSL
17 lines
200 B
GLSL
#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;
|
|
}
|