Fix #122766: Add missing Fast GI options to raytracing presets

The UI has changed and fast GI options was moved to the raytracing
panel in the UI. When this was done they were not added to the
raytracing presets what adds confusion when adding the presets.

This PR adds the fast GI options to the presets.

Pull Request: https://projects.blender.org/blender/blender/pulls/123061
This commit is contained in:
Jeroen Bakker
2024-06-11 14:07:03 +02:00
parent 973d33a278
commit bb9e3df6d2
2 changed files with 18 additions and 0 deletions

View File

@@ -11,3 +11,12 @@ options.use_denoise = True
options.denoise_spatial = True
options.denoise_temporal = True
options.denoise_bilateral = True
eevee.fast_gi_method = 'GLOBAL_ILLUMINATION'
eevee.fast_gi_resolution = '2'
eevee.fast_gi_ray_count = 2
eevee.fast_gi_step_count = 8
eevee.fast_gi_quality = 0.25
eevee.fast_gi_distance = 0.0
eevee.fast_gi_thickness_near = 0.25
eevee.fast_gi_thickness_far = 0.7853981852531433
eevee.fast_gi_bias = 0.05000000074505806

View File

@@ -552,6 +552,15 @@ class AddPresetEEVEERaytracing(AddPresetBase, Operator):
"options.denoise_spatial",
"options.denoise_temporal",
"options.denoise_bilateral",
"eevee.fast_gi_method",
"eevee.fast_gi_resolution",
"eevee.fast_gi_ray_count",
"eevee.fast_gi_step_count",
"eevee.fast_gi_quality",
"eevee.fast_gi_distance",
"eevee.fast_gi_thickness_near",
"eevee.fast_gi_thickness_far",
"eevee.fast_gi_bias",
]
preset_subdir = "eevee/raytracing"