parent
3220691068
commit
ca9be0c589
2 changed files with 1 additions and 1 deletions
|
|
@ -26,6 +26,6 @@ void main()
|
||||||
outLightVec = normalize(ubo.lightPos.xyz - outEyePos);
|
outLightVec = normalize(ubo.lightPos.xyz - outEyePos);
|
||||||
|
|
||||||
// Clip against reflection plane
|
// 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);
|
gl_ClipDistance[0] = dot(vec4(inPos, 1.0), clipPlane);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue