This release is entirely dedicated to fixing the issues of the previous ambient occlusion implementation interacting with fog and alpha blended effects such as when you rest at a bonfire or fog walls. It also updates the AO shader to a new version by Asmodean.
When I set out to do this I expected it to take about an hour – it ended up at around 5. I first tried to apply the ambient occlusion in the game’s shadow buffer, and got that to work, but sadly there isn’t any shadow buffer in some areas! So I had to throw that away and start from scratch. Now the AO is applied in the base (linear color) HDR pass before alpha effects are rendered. A few shader-level tweaks might still be necessary, but at least the basics are now solid.
Remaining known issues:
- [GeDoSaTo] Crashes when alt-tabbing out of and back into the game.
Cause: Unknown, probably a resource management issue.
By the way, sorry if I don’t reply at whatever channel you are trying to contact me through, or approve your post here, I’m getting a lot of messages.
It seems like the
VSSAO2.fx shader file included in this version causes severe performance issues for some. If you are affected, try replacing it with the file from version 0.2. I’ll revert it in the next release. The actual rendering fixes are independent of the shader file, so you will still benefit from upgrading to 0.3!