Fix dual paraboloid shadow maps, closes #14487
This commit is contained in:
parent
0c86c1ad15
commit
003f2dab78
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue