Garry's Mod

Garry's Mod

495 ratings
Screen Space Ambient Occlusion (SSAO shader)
3
2
5
3
3
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Movie, Scenic, Realism
File Size
Posted
Updated
46.326 KB
27 Mar @ 3:26pm
24 Aug @ 9:42am
22 Change Notes ( view )

Subscribe to download
Screen Space Ambient Occlusion (SSAO shader)

Description
This is Screen Space Ambient Occlusion (SSAO) shader. Porting from Source SDK.

Screen space ambient occlusion (SSAO) is a computer graphics technique for efficiently approximating the ambient occlusion effect in real time. It was developed by Vladimir Kajalin while working at Crytek and was used for the first time in 2007 by the video game Crysis, also developed by Crytek.

Convars:
pp_ssao - Enable/Disable screen space ambient occlusion.
pp_ssao_quality - 32 - very hight, 16 - hight, 8 - normal, 4 - low; (1-32).
pp_ssao_debug - Enable/Disable SSAO debug.
pp_ssao_contrast - SSAO contrast (0 - 5).
pp_ssao_radius - SSAO radius (1 - 32).
pp_ssao_bias - SSAO bias (0 - 2).
pp_ssao_bias_offset - SSAO radius offset (0 - 1).
pp_ssao_custom_depth - Custom depth buffer have more bits but have no alphatest support.
pp_ssao_znear - znear depth buffer (0.01 - 100).
pp_ssao_zfar - zfar depth buffer (0.1 - 1000).
pp_ssao_debug_fp - Show debug first pass SSAO.
pp_ssao_debug_dp - Show debug current Depth buffer.
pp_ssao_translucent - translucent fix (1 - on, 0 - off)

Credits:
Akabenko – porting shader from Source SDK to GMOD.
NotUnknownDude, Ethan – making custom Depth Buffer.

Thansk Goldermor for porting BTR-82.
Popular Discussions View All (4)
3
7 Aug @ 8:33am
Looking for Recommended Presets
RED KNIGHT
3
7 Jul @ 8:33am
Best Config?
Janiowy
1
4 Jul @ 8:10am
This makes my modern warfare guns invisible.
こんにちは
166 Comments
Evgeny Akabenko  [author] 2 hours ago 
@Monster stepa транслюсент фикс попробуй включить
pp_ssao_translucent 1
Monster stepa 9 hours ago 
Некоторые пропы полу прозрачные
Evgeny Akabenko  [author] 24 Aug @ 9:43am 
Fixed. Thanks @hörjenger. for help
hörjenger. 24 Aug @ 5:40am 
@Evgeny Akabenko, да, оба скачаны, проверял что на 32, что на 64 битке. Эффекта 0, причём во вкладке шейдеров отображаются.
@Evgeny Akabenko Да, я не увидел сначала. Прошу пардоню за гонево.
Evgeny Akabenko  [author] 24 Aug @ 5:08am 
@𝐋𝐨𝐛𝐨𝐭𝐨𝐦𝐲 @hörjenger. GShader Library скачали?
перестал работать
hörjenger. 22 Aug @ 12:12pm 
После сегодняшних обновлений не работает вообще, дебаг и консоль молчат.
The Collector 13 Aug @ 8:02am 
@Urimwin It didn't do anything that weird square thing is still there