summaryrefslogtreecommitdiff
path: root/gfx/gl
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl')
-rw-r--r--gfx/gl/shaders/shadowDynamicPointStencil.vs8
1 files changed, 4 insertions, 4 deletions
diff --git a/gfx/gl/shaders/shadowDynamicPointStencil.vs b/gfx/gl/shaders/shadowDynamicPointStencil.vs
index dadf9c2..0dd2d79 100644
--- a/gfx/gl/shaders/shadowDynamicPointStencil.vs
+++ b/gfx/gl/shaders/shadowDynamicPointStencil.vs
@@ -1,17 +1,17 @@
#version 330 core
#extension GL_ARB_shading_language_420pack : enable
-layout(location = 0) in mat3 model;
-layout(location = 3) in ivec3 worldPos;
+layout(location = 0) in ivec3 worldPos;
+layout(location = 1) in float modelYaw;
uniform ivec3 viewPoint;
uniform vec3 centre;
-out mat3 vmodel;
+out float vmodelYaw;
out ivec3 vworldPos;
void
main()
{
- vmodel = model;
+ vmodelYaw = modelYaw;
vworldPos = worldPos - viewPoint + ivec3(centre);
}