EEVEE-Next: Scene Reflection Probe Resolution

This PR reuses the scene specific reflection probe resolution for all
reflection light probes in the scene. The target is to have a automatic
detection for the resolution. But as long as we don't have a mechanism
for detection it is better to not introduce a new UI element that will
be removed within the foreseen future.

This setting is currently used by EEVEE and EEVEE-Next. EEVEE supports
resolutions upto 4096px. This will be clamped to 2048 when using
EEVEE-Next.

The motivation for this is that EEVEE-Next will soon replace
EEVEE and 4096 can then be removed from the choices that the user can
made. Adding as separate option could need synchronization, and that
option would also be temporary as it will be removed by the resolution
detection mechanism.

Pull Request: https://projects.blender.org/blender/blender/pulls/113491
This commit is contained in:
Jeroen Bakker
2023-10-10 14:50:17 +02:00
parent 57fc3d48b8
commit 25a1cea8e2
9 changed files with 34 additions and 44 deletions

View File

@@ -145,8 +145,6 @@ class DATA_PT_lightprobe_eevee_next(DataButtonsPanel, Panel):
col.prop(probe, "grid_capture_emission")
elif probe.type == 'CUBEMAP':
col = layout.column()
col.prop(probe, "resolution")
sub = layout.column(align=True)
sub.prop(probe, "clip_start", text="Clipping Start")
sub.prop(probe, "clip_end", text="End")

View File

@@ -897,6 +897,7 @@ class RENDER_PT_eevee_next_indirect_lighting(RenderButtonsPanel, Panel):
col.operator("object.lightprobe_cache_free", text="Delete Light Caches").subset = 'ALL'
col.prop(props, "gi_irradiance_pool_size", text="Pool Size")
col.prop(props, "gi_cubemap_resolution", text="Probe Resolution")
class RENDER_PT_eevee_indirect_lighting_display(RenderButtonsPanel, Panel):