LightProbe(ID)

base classes — bpy_struct, ID

class bpy.types.LightProbe(ID)

Light Probe data-block for lighting capture objects

animation_data

Animation data for this data-block

Type:

AnimData, (readonly)

clip_end

Probe clip end, beyond which objects will not appear in reflections

Type:

float in [1e-06, inf], default 40.0

clip_start

Probe clip start, below which objects will not appear in reflections

Type:

float in [1e-06, inf], default 0.8

falloff

Control how fast the probe influence decreases

Type:

float in [0, 1], default 0.2

grid_bake_samples

Number of ray directions to evaluate when baking

Type:

int in [1, inf], default 2048

grid_capture_emission

Bake emissive surfaces for more accurate lighting

Type:

boolean, default True

grid_capture_indirect

Bake light bounces from light sources for more accurate lighting

Type:

boolean, default True

grid_capture_world

Bake incoming light from the world, instead of just the visibility, for more accurate lighting, but lose correct blending to surrounding irradiance volumes

Type:

boolean, default False

grid_clamp_direct

Clamp the direct lighting intensity to reduce noise (0 to disable)

Type:

float in [0, inf], default 0.0

grid_clamp_indirect

Clamp the indirect lighting intensity to reduce noise (0 to disable)

Type:

float in [0, inf], default 10.0

grid_dilation_radius

Radius in grid sample to search valid grid samples to copy into invalid grid samples

Type:

float in [1, 5], default 1.0

grid_dilation_threshold

Ratio of front-facing surface hits under which a grid sample will reuse neighbors grid sample lighting

Type:

float in [0, 1], default 0.5

grid_escape_bias

Moves capture points outside objects

Type:

float in [0, 1], default 0.1

grid_irradiance_smoothing

Smoother irradiance interpolation but introduce light bleeding

Type:

float in [0, inf], default 0.5

grid_normal_bias

Offset sampling of the irradiance grid in the surface normal direction to reduce light bleeding

Type:

float in [0, inf], default 0.3

grid_resolution_x

Number of samples along the x axis of the volume

Type:

int in [1, 256], default 4

grid_resolution_y

Number of samples along the y axis of the volume

Type:

int in [1, 256], default 4

grid_resolution_z

Number of samples along the z axis of the volume

Type:

int in [1, 256], default 4

grid_surface_bias

Moves capture points position away from surfaces to avoid artifacts

Type:

float in [0, 1], default 0.05

grid_validity_threshold

Ratio of front-facing surface hits under which a grid sample will not be considered for lighting

Type:

float in [0, 1], default 0.4

grid_view_bias

Offset sampling of the irradiance grid in the viewing direction to reduce light bleeding

Type:

float in [0, inf], default 0.0

influence_distance

Influence distance of the probe

Type:

float in [0, inf], default 2.5

influence_type

Type of influence volume

Type:

enum in [‘ELIPSOID’, ‘BOX’], default ‘ELIPSOID’

intensity

Modify the intensity of the lighting captured by this probe

Type:

float in [0, inf], default 1.0

invert_visibility_collection

Invert visibility collection

Type:

boolean, default False

parallax_distance

Lowest corner of the parallax bounding box

Type:

float in [0, inf], default 2.5

parallax_type

Type of parallax volume

Type:

enum in [‘ELIPSOID’, ‘BOX’], default ‘ELIPSOID’

resolution

Resolution when baked to a texture

Type:

enum in [‘64’, ‘128’, ‘256’, ‘512’, ‘1024’, ‘2048’], default ‘1024’

show_clip

Show the clipping distances in the 3D view

Type:

boolean, default False

show_data

Show captured lighting data into the 3D view for debugging purpose

Type:

boolean, default False

show_influence

Show the influence volume in the 3D view

Type:

boolean, default True

show_parallax

Show the parallax correction volume in the 3D view

Type:

boolean, default False

surfel_density

Number of surfels per unit distance (higher values improve quality)

Type:

float in [0, inf], default 1.0

type

Type of light probe

  • CUBEMAP Reflection Cubemap – Capture reflections.

  • PLANAR Reflection Plane.

  • GRID Irradiance Volume – Volume used for precomputing indirect lighting.

Type:

enum in [‘CUBEMAP’, ‘PLANAR’, ‘GRID’], default ‘CUBEMAP’, (readonly)

use_custom_parallax

Enable custom settings for the parallax correction volume

Type:

boolean, default False

visibility_bleed_bias

Bias for reducing light-bleed on variance shadow maps

Type:

float in [0, 1], default 0.0

visibility_blur

Filter size of the visibility blur

Type:

float in [0, 1], default 0.2

visibility_buffer_bias

Bias for reducing self shadowing

Type:

float in [0.001, 9999], default 1.0

visibility_collection

Restrict objects visible for this probe

Type:

Collection

classmethod bl_rna_get_subclass(id, default=None)
Parameters:

id (string) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters:

id (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions

References