mirror of
https://github.com/godotengine/godot.git
synced 2024-12-04 01:52:56 +00:00
Fix dual paraboloid shadow maps, closes #14487
This commit is contained in:
parent
0c86c1ad15
commit
003f2dab78
@ -445,8 +445,7 @@ VERTEX_SHADER_CODE
|
||||
vtx.z=(distance/shadow_dual_paraboloid_render_zfar);
|
||||
vtx.z=vtx.z * 2.0 - 1.0;
|
||||
|
||||
vertex.xyz=vtx;
|
||||
vertex.w=1.0;
|
||||
vertex_interp = vtx;
|
||||
|
||||
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user