s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Components
IndirectLightVolume
chevron_left
Components
class
IndirectLightVolume
search
Constructors
functions
IndirectLightVolume
Properties
data_object
Bounds
data_object
Contrast
data_object
DistanceTexture
data_object
InsideGeometry
data_object
IrradianceTexture
data_object
NormalBias
data_object
ProbeCounts
data_object
ProbeDensity
data_object
RelocationTexture
Methods
functions
BakeProbes
functions
ClearProbeRelocation
functions
ComputeProbeRelocation
functions
ExtendToSceneBounds
Static Methods
functions
BakeAll
IndirectLightVolume
Dynamic Diffuse Global Illumination volume that provides indirect lighting using a 3D probe grid. Probes store irradiance and distance data in volume textures that can be sampled by shaders.
class
Sandbox
.
account_tree
extends
Component
sealed
Sandbox.Engine
build
Constructors
1
IndirectLightVolume
(
)
data_object
Properties
9
Bounds
BBox
World-space bounding box that defines the volume coverage area.
Contrast
float
Controls how much less energy to conserve during probe integration. Higher values give a harsher, more contrasty look.
DistanceTexture
Texture
Volume texture storing probe distance/visibility data.
InsideGeometry
InsideGeometryBehavior
How to handle probes detected inside geometry.
IrradianceTexture
Texture
Volume texture storing probe irradiance data (color).
NormalBias
float
Bias applied along surface normals to prevent self-occlusion artifacts.
ProbeCounts
Vector3Int
Calculated probe count along each axis based on bounds and density.
ProbeDensity
int
Number of probes per 1024 world units. Higher values increase probe resolution.
RelocationTexture
Texture
Volume texture storing probe relocation offsets (XYZ = offset, W = active).
functions
Methods
4
BakeProbes
(
ct
)
Task
Starts the probe baking process to capture lighting into the volume textures.
ClearProbeRelocation
(
)
Clears all probe relocation offsets.
ComputeProbeRelocation
(
)
Computes probe relocation offsets for all probes in the volume. Uses iterative refinement with mesh tracing. All computations are relative to probe spacing for resolution-independent behavior.
ExtendToSceneBounds
(
)
Automatically sizes the volume to encompass all scene geometry.
functions
Static Methods
1
BakeAll
(
)
Task
Inheritance
Component
IndirectLightVolume
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.