armory/Shaders/include/lamp_volume.vert.glsl
2016-10-25 13:01:20 +02:00

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;
}