forked from LeenkxTeam/LNXSDK
Reflections / Refractions
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user