Skip to content

Commit f2cef73

Browse files
authored
Update shadow.fxsub
1 parent 946de56 commit f2cef73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sub/shadow.fxsub

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ void shadow_ndotl(float3 normal, float2 uv, float2 vertex_color, inout float2 sh
9292
shadow_div = 1.0f - shadow_div;
9393

9494
#ifdef USE_FACE_SHADOW_MAP
95-
if(use_spheremap && !use_subtexture) shadow_div = face_shadow;
95+
//if(use_spheremap && !use_subtexture) shadow_div = face_shadow;
96+
shadow_div = face_shadow; // the above line was breaking for some god known reason
9697
#endif
9798

9899
shadow_out = shadow_div;

0 commit comments

Comments
 (0)