Skip to content
lsl.devlsl.devLSL Dev

ReflectionProbeType

Constants in the ReflectionProbeType flag set. These are flags and can be combined with bitwise OR.

All constant groups

At a glance, from the LSL definitions
integer PRIM_REFLECTION_PROBE_BOX = 0x0001;  // Flag option used with PRIM_REFLECTION_PROBE.integer PRIM_REFLECTION_PROBE_DYNAMIC = 0x0002;  // Flag option used with PRIM_REFLECTION_PROBE.integer PRIM_REFLECTION_PROBE_MIRROR = 0x0004;  // Flag option used with PRIM_REFLECTION_PROBE.

Constants

ConstantTypeValueDescription
PRIM_REFLECTION_PROBE_BOXinteger1Flag option used with PRIM_REFLECTION_PROBE. When set, the reflection probe volume is a box; when unset, it defaults to a sphere.
PRIM_REFLECTION_PROBE_DYNAMICinteger2Flag option used with PRIM_REFLECTION_PROBE. When set, the probe dynamically includes avatars in its image-based lighting reflections (which carries a rendering performance cost).
PRIM_REFLECTION_PROBE_MIRRORinteger4Flag option used with PRIM_REFLECTION_PROBE. When set, intersecting low-roughness PBR materials act as mirrors. Note: Mirrors do not reflect avatars unless PRIM_REFLECTION_PROBE_DYNAMIC is also enabled, and they carry a performance cost.