35 switch (probe->type) {
37 return &RNA_LightProbePlane;
39 return &RNA_LightProbeSphere;
41 return &RNA_LightProbeVolume;
43 return &RNA_LightProbe;
57 {0,
nullptr, 0,
nullptr,
nullptr},
63 ICON_LIGHTPROBE_SPHERE,
65 "Light probe that captures precise lighting from all directions at a single point in space"},
68 ICON_LIGHTPROBE_PLANE,
70 "Light probe that captures incoming light from a single direction on a plane"},
73 ICON_LIGHTPROBE_VOLUME,
75 "Light probe that captures low frequency lighting inside a volume"},
76 {0,
nullptr, 0,
nullptr,
nullptr},
87 srna,
"LightProbe",
"Light Probe data-block for lighting capture objects");
100 prop,
"Clip Start",
"Probe clip start, below which objects will not appear in reflections");
125 prop,
"Visibility Bias",
"Bias for reducing self shadowing (Deprecated)");
132 "Visibility Bleed Bias",
133 "Bias for reducing light-bleed on variance shadow maps (Deprecated)");
140 prop,
"Visibility Blur",
"Filter size of the visibility blur (Deprecated)");
149 prop,
"Visibility Collection",
"Restrict objects visible for this probe (Deprecated)");
164 prop,
"Display Data (Deprecated)",
"Deprecated, use use_data_display instead");
171 prop,
"Display Data",
"Display sampled data in the viewport to debug captured light");
195 "Light probe that captures incoming light from a single direction on a plane");
209 "Light probe that captures precise lighting from all directions at a single point in space");
228 prop,
"Clip End",
"Probe clip end, beyond which objects will not appear in reflections");
235 prop,
"Use Custom Parallax",
"Enable custom settings for the parallax correction volume");
263 srna,
"Volume Probe",
"Light probe that captures low frequency lighting inside a volume");
271 prop,
"Intensity",
"Modify the intensity of the lighting captured by this probe");
279 prop,
"Resolution X",
"Number of samples along the x axis of the volume");
286 prop,
"Resolution Y",
"Number of samples along the y axis of the volume");
293 prop,
"Resolution Z",
"Number of samples along the z axis of the volume");
304 "Distance around the probe volume that will be considered "
312 "Offset sampling of the irradiance grid in "
313 "the surface normal direction to reduce light bleeding");
322 "Offset sampling of the irradiance grid in "
323 "the viewing direction to reduce light bleeding");
331 prop,
"Facing Bias",
"Smoother irradiance interpolation but introduce light bleeding");
339 prop,
"Bake Samples",
"Number of ray directions to evaluate when baking");
346 prop,
"Surface Offset",
"Moves capture points away from surfaces to prevent artifacts");
354 "Distance to search for valid capture positions to prevent "
355 "lighting artifacts");
365 "Number of surfels to spawn in one local unit distance (higher values improve quality)");
371 "Validity Threshold",
372 "Ratio of front-facing surface hits under which a grid sample will "
373 "not be considered for lighting");
381 "Dilation Threshold",
382 "Ratio of front-facing surface hits under which a grid sample will "
383 "reuse neighbors grid sample lighting");
393 "Radius in grid sample to search valid grid samples to copy into invalid grid samples");
403 "Bake incoming light from the world instead of just the visibility "
404 "for more accurate lighting, but lose correct blending to surrounding irradiance volumes");
411 "Bake light bounces from light sources for more accurate lighting");
417 prop,
"Capture Emission",
"Bake emissive surfaces for more accurate lighting");
425 prop,
"Clamp Direct",
"Clamp the direct lighting intensity to reduce noise (0 to disable)");
434 "Clamp the indirect lighting intensity to reduce noise (0 to disable)");
void DEG_id_tag_update(ID *id, unsigned int flags)
Object groups, one object can be in many groups at once.
@ LIGHTPROBE_GRID_CAPTURE_EMISSION
@ LIGHTPROBE_GRID_CAPTURE_WORLD
@ LIGHTPROBE_GRID_CAPTURE_INDIRECT
@ LIGHTPROBE_SHAPE_ELIPSOID
@ LIGHTPROBE_FLAG_SHOW_PARALLAX
@ LIGHTPROBE_FLAG_SHOW_CLIP_DIST
@ LIGHTPROBE_FLAG_SHOW_INFLUENCE
@ LIGHTPROBE_FLAG_INVERT_GROUP
@ LIGHTPROBE_FLAG_SHOW_DATA
@ LIGHTPROBE_FLAG_CUSTOM_PARALLAX
Object is a sort of wrapper for general info.
Read Guarded memory(de)allocation.
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
void rna_def_animdata_common(StructRNA *srna)
void RNA_def_struct_refine_func(StructRNA *srna, const char *refine)
void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t bit)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_property_ui_icon(PropertyRNA *prop, int icon, int consecutive)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item)
void RNA_def_struct_sdna(StructRNA *srna, const char *structname)
void RNA_def_property_range(PropertyRNA *prop, double min, double max)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier, int type, int subtype)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_struct_ui_icon(StructRNA *srna, int icon)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_ui_range(PropertyRNA *prop, double min, double max, double step, int precision)
void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_override_flag(PropertyRNA *prop, PropertyOverrideFlag flag)
void RNA_def_lightprobe(BlenderRNA *brna)
static EnumPropertyItem parallax_type_items[]
static void rna_def_lightprobe_plane(BlenderRNA *brna)
static EnumPropertyItem lightprobe_type_items[]
static void rna_def_lightprobe_sphere(BlenderRNA *brna)
static void rna_def_lightprobe_volume(BlenderRNA *brna)
static void rna_def_lightprobe(BlenderRNA *brna)