forked from LeenkxTeam/LNXSDK
t3du - Ies Texture and Cloud Texture: improvements
This commit is contained in:
@ -40,11 +40,11 @@ def add_world_defs():
|
||||
if rpdat.rp_hdr == False:
|
||||
wrd.world_defs += '_LDR'
|
||||
|
||||
if wrd.lnx_light_ies_texture != '':
|
||||
if lnx.utils.get_active_scene().world.lnx_light_ies_texture == True:
|
||||
wrd.world_defs += '_LightIES'
|
||||
assets.add_embedded_data('iestexture.png')
|
||||
|
||||
if wrd.lnx_light_clouds_texture != '':
|
||||
if lnx.utils.get_active_scene().world.lnx_light_clouds_texture == True:
|
||||
wrd.world_defs += '_LightClouds'
|
||||
assets.add_embedded_data('cloudstexture.png')
|
||||
|
||||
|
Reference in New Issue
Block a user