Update leenkx/blender/lnx/props_ui.py

This commit is contained in:
Onek8 2025-05-21 23:14:37 +00:00
parent eab3e3b30c
commit 62a4bbb714

View File

@ -1626,6 +1626,7 @@ class LNX_PT_RenderPathShadowsPanel(bpy.types.Panel):
col.prop(rpdat, 'rp_shadowmap_cube')
layout.prop(rpdat, 'rp_shadowmap_cascade')
layout.prop(rpdat, 'rp_shadowmap_cascades')
layout.prop(rpdat, 'rp_shadowmap_transparent')
col = layout.column()
col2 = col.column()
col2.enabled = rpdat.rp_shadowmap_cascades != '1'
@ -1757,7 +1758,7 @@ class LNX_PT_RenderPathVoxelsPanel(bpy.types.Panel):
col3.enabled = rpdat.rp_voxels == 'Voxel AO'
col.prop(rpdat, 'lnx_voxelgi_shadows', text='Shadows')
col2.prop(rpdat, 'lnx_voxelgi_refract', text='Refraction')
col.prop(rpdat, 'lnx_voxelgi_clipmap_count')
#col.prop(rpdat, 'lnx_voxelgi_clipmap_count')
#col.prop(rpdat, 'lnx_voxelgi_cones')
col.prop(rpdat, 'rp_voxelgi_resolution')
col.prop(rpdat, 'lnx_voxelgi_size')
@ -1771,9 +1772,10 @@ class LNX_PT_RenderPathVoxelsPanel(bpy.types.Panel):
col2.prop(rpdat, 'lnx_voxelgi_spec')
col2.prop(rpdat, 'lnx_voxelgi_refr')
col.prop(rpdat, 'lnx_voxelgi_shad')
#col.prop(rpdat, 'lnx_voxelgi_env')
col.prop(rpdat, 'lnx_voxelgi_occ')
col.label(text="Ray")
col.prop(rpdat, 'lnx_voxelgi_offset')
#col.prop(rpdat, 'lnx_voxelgi_offset')
col.prop(rpdat, 'lnx_voxelgi_step')
col.prop(rpdat, 'lnx_voxelgi_range')
#col.prop(rpdat, 'lnx_voxelgi_aperture')
@ -1864,10 +1866,10 @@ class LNX_PT_RenderPathPostProcessPanel(bpy.types.Panel):
sub = col.column()
sub.enabled = rpdat.rp_ssgi != 'Off'
sub.prop(rpdat, 'lnx_ssgi_half_res')
sub.prop(rpdat, 'lnx_ssgi_rays')
#sub.prop(rpdat, 'lnx_ssgi_rays')
sub.prop(rpdat, 'lnx_ssgi_radius')
sub.prop(rpdat, 'lnx_ssgi_strength')
sub.prop(rpdat, 'lnx_ssgi_max_steps')
sub.prop(rpdat, 'lnx_ssgi_samples')
layout.separator()
row = layout.row()