bryanedds / Nu

Repository hosting the open-source Nu Game Engine and related projects.
MIT License
1.05k stars 152 forks source link

Improve means of SSAO-derived specular occlusion. #695

Open bryanedds opened 7 months ago

bryanedds commented 7 months ago

Currently, we have a little bit of specular occlusion that I tried to fake, but it's not very effective -

https://github.com/bryanedds/Nu/blob/f56061813c4b2f5240568bd07d84f80d34066238/Nu/Nu.Gaia/Assets/Default/PhysicallyBasedDeferredLighting.glsl#L192-L196

Let's try to find a way to improve it.