Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_scene.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 6,578 Lines • ▼ Show 20 Lines | static void rna_def_scene_eevee(BlenderRNA *brna) | ||||
| RNA_def_property_ui_text(prop, | RNA_def_property_ui_text(prop, | ||||
| "Clamp Glossy", | "Clamp Glossy", | ||||
| "Clamp pixel intensity to reduce noise inside glossy reflections " | "Clamp pixel intensity to reduce noise inside glossy reflections " | ||||
| "from reflection cubemaps (0 to disabled)"); | "from reflection cubemaps (0 to disabled)"); | ||||
| RNA_def_property_range(prop, 0.0f, FLT_MAX); | RNA_def_property_range(prop, 0.0f, FLT_MAX); | ||||
| RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC); | RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC); | ||||
| prop = RNA_def_property(srna, "gi_filter_quality", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "gi_filter_quality", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_default(prop, 1.0f); | RNA_def_property_float_default(prop, 3.0f); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Filter Quality", "Take more samples during cubemap filtering to remove artifacts"); | prop, "Filter Quality", "Take more samples during cubemap filtering to remove artifacts"); | ||||
| RNA_def_property_range(prop, 1.0f, 8.0f); | RNA_def_property_range(prop, 1.0f, 8.0f); | ||||
| RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC); | RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC); | ||||
| prop = RNA_def_property(srna, "gi_show_irradiance", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "gi_show_irradiance", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", SCE_EEVEE_SHOW_IRRADIANCE); | RNA_def_property_boolean_sdna(prop, NULL, "flag", SCE_EEVEE_SHOW_IRRADIANCE); | ||||
| RNA_def_property_boolean_default(prop, 0); | RNA_def_property_boolean_default(prop, 0); | ||||
| ▲ Show 20 Lines • Show All 943 Lines • Show Last 20 Lines | |||||