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
Classes
LightmapTextures
chevron_left
Classes
class
LightmapTextures
Constructors
functions
LightmapTextures
Properties
data_object
Direction
data_object
Indices
data_object
Irradiance
data_object
Strengths
Methods
functions
<Clone>$
functions
Deconstruct
LightmapTextures
The textures a Sandbox.BakedLightmap bake lights an object from.
class
Sandbox
.
sealed
Sandbox.Engine
build
Constructors
1
LightmapTextures
(
Indices
,
Strengths
,
Irradiance
,
Direction
)
The textures a Sandbox.BakedLightmap bake lights an object from.
data_object
Properties
4
Direction
Texture
Where that light comes from in the surface's tangent space, how much of it is ambient, and baked occlusion.
Indices
Texture
The bake index of the static light in each of a luxel's four channels.
Irradiance
Texture
Indirect light at each luxel.
Strengths
Texture
How much of each of those lights reaches the luxel, square rooted.
functions
Methods
2
<Clone>$
(
)
LightmapTextures
Deconstruct
(
Indices
,
Strengths
,
Irradiance
,
Direction
)
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.