s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejams
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Components
LightProbeVolume
chevron_left Components
class
LightProbeVolume

Constructors

functionsLightProbeVolume

Properties

data_objectBoundsdata_objectHandshakedata_objectIndicesTexturedata_objectPrioritydata_objectScalarsTexturedata_objectTexture
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
sealedSandbox.Engine

build Constructors 1

LightProbeVolume ()

data_object Properties 6

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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter