Implementing SSAO in GameMaker @DragoniteSpam
Implementing SSAO in GameMaker  @DragoniteSpam
Uploaded March 2026 | Updated November 2026, 1 week ago
In the first video on screen-space ambient occlusion, we set up a lot of the different pieces that would be needed to implement SSAO. Today let's actually write the shader code to do it!

The first video:
youtu.be/_HjSKG0Xpbo

The code on Github:
github.com/DragoniteSpam-GameMaker-Tutorials/3DTutorialSSAO

Deferred rendering in GameMaker:
youtube.com/playlist?list=PL_hT--4HOvrcLVPaOnIGSOXSfRBEz1Ecb

Rendering normals to a texture:
youtu.be/e1clEbKNRxE

Depth buffer access in GameMaker:
youtu.be/sVErDpgxN5Q

Radial/disk blurs:
youtu.be/mW1liLHPhWA

Normal mapping:
youtu.be/vjNHjuSAX4w

David Lettier - 3D Game Shaders for Beginners
lettier.github.io/3d-game-shaders-for-beginners
lettier.github.io/3d-game-shaders-for-beginners/ssao.html

Bertrand's Paradox, on Numberphile (it's actually about chords and not points but the point still stands):
youtube.com/watch?v=mZBwsm6B280

0:00 Introduction
1:21 view space normals
2:48 misc SSAO shader uniforms
5:25 noise and sample vectors
14:10 getting a random tangent vector
16:41 the TBN matrix
20:30 testing each sample
28:21 it looks like a more expensive and kind of worse outline shader
31:16 blending the SSAO surface with the final image
32:49 the end

#gamemaker3d
#GameMakerSSAO
- - - - -
I've now made that Patreon:
patreon.com/wizardragon
That promised social media link spam.
twitter.com/DragoniteSpam
Transition / idle music is by my old friend Kamex:
youtube.com/user/GreatGabite/about

Rate, comment, subscribe, watch more, enjoy!
Implementing SSAO in GameMakerPokémon Ultra Moon - Part 55 - Opening DayMaybe I should post about my own game more often...
DragoniteSpam |

Implementing SSAO in GameMaker

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER