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

when camera far number too big have some problem... #13

Closed liuyehua closed 1 year ago

liuyehua commented 1 year ago

I am developing a map application based on three. js, and I need to set the camera far number very big ,such as 1e10, At this point, the color of distant objects will turn black, such as "sky.js“, and I don't know what happened...

normal

image

with ao

image
N8python commented 1 year ago

Looking into it. Will follow up when I have a lead on what's causing it!

N8python commented 1 year ago

Should be fixed with the most recent push (far values well into 1e30+ are supported now)

liuyehua commented 1 year ago

Should be fixed with the most recent push (far values well into 1e30+ are supported now)

thank you