Add eevee shadows props to shading_styles.json #6847

This commit is contained in:
Andrej730
2025-06-26 20:19:38 +05:00
parent b0ec185c34
commit efb3b9d255
2 changed files with 8 additions and 0 deletions
@@ -499,6 +499,10 @@
0.05087608844041824,
0.05087608844041824
],
"scene.eevee.use_shadows": true,
"scene.eevee.shadow_ray_count": 1,
"scene.eevee.shadow_step_count": 6,
"scene.eevee.shadow_resolution_scale": 1.0,
"scene.render.bake_bias": 0.0010000000474974513,
"scene.render.bake_margin": 16,
"scene.render.bake_margin_type": "ADJACENT_FACES",
@@ -382,6 +382,10 @@ class DrawingStyle(PropertyGroup):
class RasterStyleProperty(enum.Enum):
# EVAL_PROP_ props will be evaluated explicitly
EVAL_PROP_WORLD_COLOR = "bpy.data.worlds[0].color"
EVAL_PROP_EEVEE_USE_SHADOWS = "scene.eevee.use_shadows"
EVAL_PROP_EEVEE_SHADOW_RAY_COUNT = "scene.eevee.shadow_ray_count"
EVAL_PROP_EEVEE_SHADOW_STEP_COUNT = "scene.eevee.shadow_step_count"
EVAL_PROP_EEVEE_SHADOW_RES_SCALE = "scene.eevee.shadow_resolution_scale"
# those props attributes used as a source for shading style properties
RENDER = "scene.render"