In response to a request for it I've been looking into SSAO for the game.
Work that needs to be done for it.
[x] Pick our posion. There seem a fair few SSAO methods out there. This one seems to produce nice results, has a nice reference implemntation and the reference implemntation has meaningful quality levels.
[x] Get linear depth. Unlike Depth-of-Field we can probably get away without applying SSAO over the far scene thus thanks to the fake soft shadows blur we already have access what we need.
[ ] Get camera FOV. This can be acquired from projection matrix passed in through SetTransform using 2.0 * atan(1.0 / _11). Depth-of-Field will also be needing the FOV.
In response to a request for it I've been looking into SSAO for the game.
Work that needs to be done for it.
2.0 * atan(1.0 / _11)
. Depth-of-Field will also be needing the FOV.