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

Game Jam III

Starts Fri 4 Sep
Theme

Theme revealed when the jam starts.

£50,000
prizepool
Read more
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
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
AmbientOcclusion
chevron_left Classes
class
AmbientOcclusion

Constructors

functionsAmbientOcclusion

Properties

data_objectComponentVersiondata_objectFalloffRangedata_objectIntensityremove_circleQualitydata_objectRadiusdata_objectThinCompensation

Methods

functionsRender
AmbientOcclusion
Adds an approximation of ambient occlusion using Screen Space Ambient Occlusion (SSAO). It darkens areas where ambient light is generally occluded from such as corners, crevices and surfaces that are close to each other.
class Sandbox .account_tree extends BasePostProcess<T>
sealedSandbox.Engine

build Constructors 1

AmbientOcclusion ()

data_object Properties 6

ComponentVersion
int
FalloffRange
float
Gently reduce sample impact as it gets out of the effect's radius bounds
Intensity
float
The intensity of the darkening effect. Has no impact on performance.
Quality
obsoleteSampleQuality
Radius
int
Maximum distance of samples from pixel when determining its occlusion, in world units.
ThinCompensation
float
Slightly reduce impact of samples further back to counter the bias from depth-based (incomplete) input scene geometry data

functions Methods 1

Render ()

Inheritance

Component
BasePostProcess
BasePostProcess<T>
AmbientOcclusion
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