summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/shadowDynamicPoint.vs
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/shaders/shadowDynamicPoint.vs')
-rw-r--r--gfx/gl/shaders/shadowDynamicPoint.vs7
1 files changed, 1 insertions, 6 deletions
diff --git a/gfx/gl/shaders/shadowDynamicPoint.vs b/gfx/gl/shaders/shadowDynamicPoint.vs
index 531d8de..f3ed533 100644
--- a/gfx/gl/shaders/shadowDynamicPoint.vs
+++ b/gfx/gl/shaders/shadowDynamicPoint.vs
@@ -5,9 +5,4 @@ include(`meshIn.glsl')
uniform mat4 viewProjection;
uniform mat4 model;
-void
-main()
-{
- gl_Position = viewProjection * model * vec4(position, 1.0);
- gl_Position.z = max(gl_Position.z, -1);
-}
+include(`commonShadowPoint.glsl')