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
Api
Classes
AmbientOcclusion
chevron_left
Classes
class
AmbientOcclusion
Constructors
functions
AmbientOcclusion
Properties
data_object
ComponentVersion
data_object
FalloffRange
data_object
Intensity
remove_circle
Quality
data_object
Radius
data_object
ThinCompensation
Methods
functions
Render
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
>
sealed
Sandbox.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
obsolete
SampleQuality
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.