LightProbeVolumeclass

Provides baked ambient lighting using the light probe volume textures produced by Hammer. Mount loaders can supply textures in the same format. This component does not bake probes and is hidden from the editor's component picker.

object→Component→LightProbeVolume
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.LightProbeVolume : Sandbox.Component

Constructors1

Showing 1 constructors

Properties6

Showing 6 properties

public BBox Sandbox.LightProbeVolume.Bounds { get; set; }PUBLICGETSET

Probe bounds in local space. Native probe sampling uses position and rotation, not scale.

Returns:BBox—

public int Sandbox.LightProbeVolume.Handshake { get; set; }PUBLICGETSET

Baked identifier used by static map objects to select their light probe volume.

Returns:int—

public Sandbox.Texture Sandbox.LightProbeVolume.IndicesTexture { get; set; }PUBLICGETSET

Optional baked direct-light indices, matching the ambient probe grid.

Returns:Texture—

public int Sandbox.LightProbeVolume.Priority { get; set; }PUBLICGETSET

Higher priority takes precedence when multiple volumes contain an object's lighting origin.

Returns:int—

public Sandbox.Texture Sandbox.LightProbeVolume.ScalarsTexture { get; set; }PUBLICGETSET

Optional baked direct-light weights, matching the ambient probe grid.

Returns:Texture—

public Sandbox.Texture Sandbox.LightProbeVolume.Texture { get; set; }PUBLICGETSET

Baked ambient cubes stored as six layers in a volume texture. No lighting volume is created until a texture is assigned.

Returns:Texture—

On this page