EEVEE-Next: Improve tests appearance
This improves the volume probe resolution and dimensions to envelope most test scenes. This doesn't increase the baking time that much as most of the baking time is spent compiling shaders.
This commit is contained in:
parent
1f8fac5082
commit
7cc4339ce2
@ -64,8 +64,13 @@ def setup():
|
||||
|
||||
bpy.ops.object.lightprobe_add(type='VOLUME', location=(0.0, 0.0, 0.0))
|
||||
grid = bpy.context.selected_objects[0]
|
||||
grid.scale = (1.735, 1.735, 1.735)
|
||||
grid.data.grid_bake_samples = 256
|
||||
grid.scale = (8.0, 4.0, 1.4)
|
||||
grid.data.grid_resolution_x = 32
|
||||
grid.data.grid_resolution_y = 16
|
||||
grid.data.grid_resolution_z = 8
|
||||
grid.data.grid_bake_samples = 128
|
||||
# Make lighting smoother for most of the case.
|
||||
grid.data.grid_dilation_threshold = 1.0
|
||||
bpy.ops.object.lightprobe_cache_bake(subset='ACTIVE')
|
||||
|
||||
# Only include the plane in probes
|
||||
|
Loading…
Reference in New Issue
Block a user