forked from LeenkxTeam/LNXSDK
		
	Update leenkx/blender/lnx/write_data.py
This commit is contained in:
		| @ -671,16 +671,16 @@ const float waterReflect = """ + str(round(rpdat.lnx_water_reflect * 100) / 100) | ||||
|                 f'const float ditherStrengthValue = {rpdat.lnx_dithering_strength};\n' | ||||
|             ) | ||||
|  | ||||
|         if rpdat.rp_ssgi == 'SSAO' or rpdat.rp_ssgi == 'RTAO' or rpdat.rp_volumetriclight: | ||||
|         if rpdat.rp_ssgi == 'SSAO' or rpdat.rp_ssgi == 'SSGI' or rpdat.rp_ssgi == 'RTAO' or rpdat.rp_volumetriclight: | ||||
|             f.write( | ||||
| """const float ssaoRadius = """ + str(round(rpdat.lnx_ssgi_radius * 100) / 100) + """; | ||||
| const float ssaoStrength = """ + str(round(rpdat.lnx_ssgi_strength * 100) / 100) + """; | ||||
| const float ssaoScale = """ + ("2.0" if rpdat.lnx_ssgi_half_res else "20.0") + """; | ||||
| """) | ||||
|  | ||||
|         if rpdat.rp_ssgi == 'RTGI' or rpdat.rp_ssgi == 'RTAO': | ||||
|         if rpdat.rp_ssgi == 'RTGI' or rpdat.rp_ssgi == 'RTAO' or rpdat.rp_ssgi == 'SSGI' : | ||||
|             f.write( | ||||
| """const int ssgiMaxSteps = """ + str(rpdat.lnx_ssgi_max_steps) + """; | ||||
| """const int ssgiSamples = """ + str(rpdat.lnx_ssgi_samples) + """; | ||||
| const float ssgiRayStep = 0.005 * """ + str(round(rpdat.lnx_ssgi_step * 100) / 100) + """; | ||||
| const float ssgiStrength = """ + str(round(rpdat.lnx_ssgi_strength * 100) / 100) + """; | ||||
| """) | ||||
| @ -824,6 +824,7 @@ const float voxelgiRange = """ + str(round(rpdat.lnx_voxelgi_range * 100) / 100) | ||||
| const float voxelgiOffset = """ + str(round(rpdat.lnx_voxelgi_offset * 1000) / 1000) + """; | ||||
| const float voxelgiAperture = """ + str(round(rpdat.lnx_voxelgi_aperture * 100) / 100) + """; | ||||
| const float voxelgiShad = """ + str(round(rpdat.lnx_voxelgi_shad * 100) / 100) + """; | ||||
| const float voxelgiEnv = """ + str(round(rpdat.lnx_voxelgi_env * 100) / 100) + """; | ||||
| """) | ||||
|         if rpdat.rp_voxels == 'Voxel GI': | ||||
|             f.write(""" | ||||
|  | ||||
		Reference in New Issue
	
	Block a user