diff --git a/shaders/glsl/offscreen/phong.vert b/shaders/glsl/offscreen/phong.vert index 588576c3..f540ea69 100644 --- a/shaders/glsl/offscreen/phong.vert +++ b/shaders/glsl/offscreen/phong.vert @@ -26,6 +26,6 @@ void main() outLightVec = normalize(ubo.lightPos.xyz - outEyePos); // Clip against reflection plane - vec4 clipPlane = vec4(0.0, -1.0, 0.0, 0.0); + vec4 clipPlane = vec4(0.0, 0.0, 0.0, 0.0); gl_ClipDistance[0] = dot(vec4(inPos, 1.0), clipPlane); } diff --git a/shaders/glsl/offscreen/phong.vert.spv b/shaders/glsl/offscreen/phong.vert.spv index ae0ff6df..05af386e 100644 Binary files a/shaders/glsl/offscreen/phong.vert.spv and b/shaders/glsl/offscreen/phong.vert.spv differ