Reflections / Refractions

This commit is contained in:
2026-09-06 01:37:13 -07:00
parent 1e500993d9
commit bc700a6374
4 changed files with 81 additions and 69 deletions

View File

@ -55,6 +55,8 @@ def get_rpasses(material):
ar.append('voxel')
if rpdat.rp_renderer == 'Forward' and rpdat.rp_depthprepass and not material.lnx_blending and not material.lnx_particle_flag:
ar.append('depth')
if rpdat.rp_renderer == 'Deferred' and rpdat.rp_ssr and 'translucent' in ar:
ar.append('depth')
if material.lnx_cast_shadow and rpdat.rp_shadows and ('mesh' in ar):
if 'translucent' in ar or 'refraction' in ar: