N8python / n8ao

An efficient and visually pleasing implementation of SSAO with an emphasis on temporal stability and artist control.
Creative Commons Zero v1.0 Universal
378 stars 14 forks source link

Artifacting and banding when camera is really far away using ScreenSpaceRadius #34

Open kitaedesigns opened 2 months ago

kitaedesigns commented 2 months ago

Some artifacting appears when you zoom out on models, the banding seems to increase with Radius levels. I've attached an image of the problem and my settings for AO.

image image image

N8python commented 2 months ago

You can fix this my adjusting the bias.

kitaedesigns commented 2 months ago

Can a static bias value fix this or does it need to update the bias value with the distance from the camera?

N8python commented 2 months ago

You can use the biasOffset and biasMultiplier parameters - they let you make the bias a linear function of the automatically computed bias. Then you can fiddle around till u find what works.