s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
LightmapTextures
chevron_left Classes
class
LightmapTextures

Constructors

functionsLightmapTextures

Properties

data_objectDirectiondata_objectIndicesdata_objectIrradiancedata_objectStrengths

Methods

functions<Clone>$functionsDeconstruct
LightmapTextures
The textures a Sandbox.BakedLightmap bake lights an object from.
class Sandbox .
sealedSandbox.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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter