Fix T89655: tweak Cycles transparent bounces UI for clarity

Transparent bounces are independent of other bounces, so don't group
them together.
This commit is contained in:
Brecht Van Lommel 2021-07-05 13:38:08 +02:00
parent 2eca9c7ed4
commit aad8b8405c
Notes: blender-bot 2023-02-14 11:20:29 +01:00
Referenced by issue #89655, Regression: Cycles. Total bounces do not limit bounces at all
2 changed files with 4 additions and 2 deletions

View File

@ -482,7 +482,7 @@ class CyclesRenderSettings(bpy.types.PropertyGroup):
transparent_max_bounces: IntProperty(
name="Transparent Max Bounces",
description="Maximum number of transparent bounces",
description="Maximum number of transparent bounces. This is independent of maximum number of other bounces ",
min=0, max=1024,
default=8,
)

View File

@ -485,10 +485,12 @@ class CYCLES_RENDER_PT_light_paths_max_bounces(CyclesButtonsPanel, Panel):
col = layout.column(align=True)
col.prop(cscene, "diffuse_bounces", text="Diffuse")
col.prop(cscene, "glossy_bounces", text="Glossy")
col.prop(cscene, "transparent_max_bounces", text="Transparency")
col.prop(cscene, "transmission_bounces", text="Transmission")
col.prop(cscene, "volume_bounces", text="Volume")
col = layout.column(align=True)
col.prop(cscene, "transparent_max_bounces", text="Transparent")
class CYCLES_RENDER_PT_light_paths_clamping(CyclesButtonsPanel, Panel):
bl_label = "Clamping"