s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Components
LightProbeVolume
chevron_left
Components
class
LightProbeVolume
Constructors
functions
LightProbeVolume
Properties
data_object
AtlasZOffset
data_object
AtlasZScale
data_object
Bounds
data_object
Handshake
data_object
IndicesTexture
data_object
Priority
data_object
ScalarsTexture
data_object
Texture
LightProbeVolume
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.
class
Sandbox
.
account_tree
extends
Component
sealed
Sandbox.Engine
build
Constructors
1
LightProbeVolume
(
)
data_object
Properties
8
AtlasZOffset
float
When probes are packed into a shared atlas texture, this is the offset into the texture's depth where this volume's data starts. Default 0 = the volume starts at the beginning.
AtlasZScale
float
When probes are packed into a shared atlas texture, this is the fraction of the texture's depth that belongs to this volume. Default 1 = the volume owns the entire texture.
Bounds
BBox
Probe bounds in local space. Native probe sampling uses position and rotation, not scale.
Handshake
int
Baked identifier used by static map objects to select their light probe volume.
IndicesTexture
Texture
Optional baked direct-light indices, matching the ambient probe grid.
Priority
int
Higher priority takes precedence when multiple volumes contain an object's lighting origin.
ScalarsTexture
Texture
Optional baked direct-light weights, matching the ambient probe grid.
Texture
Texture
Baked ambient cubes stored as six layers in a volume texture. No lighting volume is created until a texture is assigned.
Inheritance
Component
LightProbeVolume
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.