diff --git a/shaders/glsl/offscreen/phong.vert b/shaders/glsl/offscreen/phong.vert index 9491b09d..588576c3 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, 1.5); + vec4 clipPlane = vec4(0.0, -1.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 15e5a71f..ae0ff6df 100644 Binary files a/shaders/glsl/offscreen/phong.vert.spv and b/shaders/glsl/offscreen/phong.vert.spv differ diff --git a/shaders/hlsl/offscreen/phong.vert b/shaders/hlsl/offscreen/phong.vert index b097c557..04f73c1a 100644 --- a/shaders/hlsl/offscreen/phong.vert +++ b/shaders/hlsl/offscreen/phong.vert @@ -37,7 +37,7 @@ VSOutput main(VSInput input) output.LightVec = normalize(ubo.lightPos.xyz - output.EyePos); // Clip against reflection plane - float4 clipPlane = float4(0.0, -1.0, 0.0, 1.5); + float4 clipPlane = float4(0.0, -1.0, 0.0, 0.0); output.ClipDistance = dot(input.Pos, clipPlane); return output; } diff --git a/shaders/hlsl/offscreen/phong.vert.spv b/shaders/hlsl/offscreen/phong.vert.spv index e814c80b..44b0e5c0 100644 Binary files a/shaders/hlsl/offscreen/phong.vert.spv and b/shaders/hlsl/offscreen/phong.vert.spv differ