forked from LeenkxTeam/LNXSDK
Scaled slope bias and transparent shadows fixes
This commit is contained in:
@ -58,7 +58,7 @@ def get_rpasses(material):
|
||||
ar.append('depth')
|
||||
|
||||
if material.lnx_cast_shadow and rpdat.rp_shadows and ('mesh' in ar):
|
||||
if 'translucent' in ar or 'refraction' in ar:
|
||||
if ('translucent' in ar or 'refraction' in ar) and rpdat.rp_shadowmap_transparent:
|
||||
ar.append('shadowmap_transparent')
|
||||
else:
|
||||
ar.append('shadowmap')
|
||||
|
||||
Reference in New Issue
Block a user