Feature request : Horizon Occlusion

When using normal maps, it often happens that the reflection vector ends up pointing behind the surface of the mesh and create these unpleasant looking white artifacts

Marmoset viewer implemented this “horizon occlusion” that fixes these issues :

Here the change it makes :

It’s been suggested before but te suggestion is closed. Has it been implemented already? Is it a wrong approach to solving this normal map shading issue? Thanks!


I guess it was closed because the issue was open for 5 years with zero interest (and also probably because there was no simple implementation). You can comment on that issue and request it be re-opened if you like.


should be quite simple, actually, reflected vector dot original normal < 0