Skip to content

Commit

Permalink
Update shadow.fxsub
Browse files Browse the repository at this point in the history
  • Loading branch information
Manashiku authored May 22, 2023
1 parent 946de56 commit f2cef73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sub/shadow.fxsub
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ void shadow_ndotl(float3 normal, float2 uv, float2 vertex_color, inout float2 sh
shadow_div = 1.0f - shadow_div;

#ifdef USE_FACE_SHADOW_MAP
if(use_spheremap && !use_subtexture) shadow_div = face_shadow;
//if(use_spheremap && !use_subtexture) shadow_div = face_shadow;
shadow_div = face_shadow; // the above line was breaking for some god known reason
#endif

shadow_out = shadow_div;
Expand Down

0 comments on commit f2cef73

Please sign in to comment.