s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
live now
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
The jam is running. Build something, or play the entries.
£
50,000
prizepool
View the jam
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
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
Classes
CubemapFogController
chevron_left
Classes
class
CubemapFogController
Constructors
functions
CubemapFogController
Properties
data_object
Enabled
data_object
EndDistance
data_object
FalloffExponent
data_object
HeightExponent
data_object
HeightStart
data_object
HeightWidth
data_object
LodBias
data_object
StartDistance
data_object
Texture
data_object
Tint
data_object
Transform
CubemapFogController
class
Sandbox
.
Sandbox.Engine
build
Constructors
1
CubemapFogController
(
)
data_object
Properties
11
Enabled
bool
Is this cubemap fog active?
EndDistance
float
The distance from the player at which the fog will be at full strength.
FalloffExponent
float
Exponent for distance falloff. For example, 2.0 is proportional to square of distance.
HeightExponent
float
Exponent for height falloff. For example, 2.0 is proportional to square of distance.
HeightStart
float
The absolute height in the map at which the height fog will start to fade in.
HeightWidth
float
The distance between the start of the height fog and where it is fully opaque. Setting this to 0 will disable height based blending.
LodBias
float
Adjust how quickly the cubemap blurs out at closer distances. A value of 0.0 always uses the lowest resolution MIP over the entire range, while a value of 1.0 uses the highest.
StartDistance
float
The distance from the player at which the fog will start to fade in.
Texture
Texture
Cubemap texture to use for the fog.
Tint
Color
Tint of the fog.
Transform
Transform
Location of the fog.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.