EEVEE-Next: Rename lightprobe volume single sided to backface cull
This also modifies the RNA access path for consistency. This was a long standing change that was oversighted.
This commit is contained in:
@@ -996,6 +996,16 @@ void RNA_def_material(BlenderRNA *brna)
|
||||
prop, "Shadow Backface Culling", "Use back face culling when casting shadows");
|
||||
RNA_def_property_update(prop, 0, "rna_Material_draw_update");
|
||||
|
||||
prop = RNA_def_property(srna, "use_backface_culling_lightprobe_volume", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(
|
||||
prop, nullptr, "blend_flag", MA_BL_LIGHTPROBE_VOLUME_DOUBLE_SIDED);
|
||||
RNA_def_property_ui_text(
|
||||
prop,
|
||||
"Light Probe Volume Backface Culling",
|
||||
"Consider material single sided for light probe volume capture. "
|
||||
"Additionally helps rejecting probes inside the object to avoid light leaks");
|
||||
RNA_def_property_update(prop, 0, "rna_Material_draw_update");
|
||||
|
||||
prop = RNA_def_property(srna, "use_transparent_shadow", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, nullptr, "blend_flag", MA_BL_TRANSPARENT_SHADOW);
|
||||
RNA_def_property_ui_text(
|
||||
@@ -1005,16 +1015,6 @@ void RNA_def_material(BlenderRNA *brna)
|
||||
"disabling will render faster but not give accurate shadows");
|
||||
RNA_def_property_update(prop, 0, "rna_Material_draw_update");
|
||||
|
||||
prop = RNA_def_property(srna, "lightprobe_volume_single_sided", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(
|
||||
prop, nullptr, "blend_flag", MA_BL_LIGHTPROBE_VOLUME_DOUBLE_SIDED);
|
||||
RNA_def_property_ui_text(
|
||||
prop,
|
||||
"Light Probe Volume Single Sided",
|
||||
"Consider material single sided for light probe volume capture. "
|
||||
"Additionally helps rejecting probes inside the object to avoid light leaks");
|
||||
RNA_def_property_update(prop, 0, "rna_Material_draw_update");
|
||||
|
||||
prop = RNA_def_property(srna, "use_raytrace_refraction", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, nullptr, "blend_flag", MA_BL_SS_REFRACTION);
|
||||
RNA_def_property_ui_text(
|
||||
|
||||
Reference in New Issue
Block a user