Scaled slope bias and transparent shadows fixes

This commit is contained in:
2026-10-31 01:10:21 -07:00
parent 29f0765864
commit f45ad72056
15 changed files with 126 additions and 48 deletions

View File

@ -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')