Make clusterNear be the same as in LightObject
This commit is contained in:
parent
8e972f75fd
commit
404a1248a1
|
@ -253,7 +253,7 @@ project.addSources('Sources');
|
|||
if wrd.arm_debug_console:
|
||||
assets.add_khafile_def('arm_debug')
|
||||
khafile.write(add_shaders(sdk_path + "/armory/Shaders/debug_draw/**", rel_path=do_relpath_sdk))
|
||||
|
||||
|
||||
if not is_publish and state.target == 'html5':
|
||||
khafile.write("project.addParameter('--debug');\n")
|
||||
|
||||
|
@ -711,7 +711,7 @@ const float voxelgiAperture = """ + str(round(rpdat.arm_voxelgi_aperture * 100)
|
|||
f.write(
|
||||
"""const int maxLights = """ + max_lights + """;
|
||||
const int maxLightsCluster = """ + max_lights_clusters + """;
|
||||
const float clusterNear = 4.0;
|
||||
const float clusterNear = 3.0;
|
||||
""")
|
||||
|
||||
f.write(add_compiledglsl + '\n') # External defined constants
|
||||
|
|
Loading…
Reference in a new issue