VOX_PATCH_2 + VOX_5
This commit is contained in:
@ -379,6 +379,7 @@ def parse_sky_hosekwilkie(node: bpy.types.ShaderNodeTexSky, state: ParserState)
|
||||
# Radiance
|
||||
if rpdat.lnx_radiance and rpdat.lnx_irradiance and not mobile_mat:
|
||||
wrd.world_defs += '_Rad'
|
||||
assets.add_khafile_def("lnx_radiance")
|
||||
hosek_path = 'leenkx/Assets/hosek/'
|
||||
sdk_path = lnx.utils.get_sdk_path()
|
||||
# Use fake maps for now
|
||||
@ -556,6 +557,7 @@ def parse_tex_environment(node: bpy.types.ShaderNodeTexEnvironment, out_socket:
|
||||
# Append radiance define
|
||||
if rpdat.lnx_irradiance and rpdat.lnx_radiance and not mobile_mat:
|
||||
wrd.world_defs += '_Rad'
|
||||
assets.add_khafile_def("lnx_radiance")
|
||||
|
||||
return 'texture(envmap, envMapEquirect(pos)).rgb * envmapStrength'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user