forked from LeenkxTeam/LNXSDK
Update leenkx/blender/lnx/write_data.py
This commit is contained in:
parent
8765e894f5
commit
c3435b9533
@ -677,6 +677,12 @@ const float waterDensity = """ + str(round(rpdat.lnx_water_density * 100) / 100)
|
||||
const float waterRefract = """ + str(round(rpdat.lnx_water_refract * 100) / 100) + """;
|
||||
const float waterReflect = """ + str(round(rpdat.lnx_water_reflect * 100) / 100) + """;
|
||||
""")
|
||||
|
||||
if '_CDitheringStrength' in defs:
|
||||
f.write(
|
||||
f'const float ditherStrengthValue = {rpdat.lnx_dithering_strength};\n'
|
||||
)
|
||||
|
||||
if rpdat.rp_ssgi == 'SSAO' or rpdat.rp_ssgi == 'RTAO' or rpdat.rp_volumetriclight:
|
||||
f.write(
|
||||
"""const float ssaoRadius = """ + str(round(rpdat.lnx_ssgi_radius * 100) / 100) + """;
|
||||
|
Loading…
x
Reference in New Issue
Block a user