diff options
Diffstat (limited to 'gfx/gl/shaders/shadowDynamicPoint.vs')
-rw-r--r-- | gfx/gl/shaders/shadowDynamicPoint.vs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gfx/gl/shaders/shadowDynamicPoint.vs b/gfx/gl/shaders/shadowDynamicPoint.vs new file mode 100644 index 0000000..91d8bf7 --- /dev/null +++ b/gfx/gl/shaders/shadowDynamicPoint.vs @@ -0,0 +1,12 @@ +#version 330 core + +in vec3 position; + +uniform mat4 viewProjection; +uniform mat4 model; + +void +main() +{ + gl_Position = viewProjection * model * vec4(position, 1.0); +} |