Sandbox 2 Manual
ContentsIndexHome
PreviousUpNext
TerrainAmbientOcclusionIntro

Terrain Ambient Occlusion

 

 

What is this and how it's working

 

Terrain Ambient Occlusion system controls ammont of ambient light in scene. Classic example - dence forest has less ambient light near the ground becasue most of sky light is stopped by trees. In current implementation occlusion information is stored in textures and effect is applyed to scene in deffered way. 

Disabled 


 

Enabled 


 

Ammout of effect is controlable in 'Time of Day' window 


 

Make sure 'Calculate terrain sky accesibility' check box is enabled during terrain texture generation 


Console variables

 

r_TerrainAO 0 = OFF 

r_TerrainAO 7 = ON 

r_ShowRenderTarget 11 = visualize ambient occlusion mask (together with SSAO mask)

Copyright © 2008 Crytek GmbH. All rights reserved.