It seems that changing the camera's near or far parameters affect the result of the aerial perspective effect. Is this normal?
In my understanding, the camera perspective matrix is only used to retrieve the original world positions of each pixel on the screen.
Here is a minimal reproduction example, where the camera's far value is set to oscillate, and we see the knot object blinking as a result of the aerial perspective effect: aerial-perspective+changing-frustum.tsx
This occurs both with and without log depth buffer.
Reproduced from version 0.13.2 of three-atmosphere, up to today's dev version (so at least 0.14.0).
It seems that changing the camera's near or far parameters affect the result of the aerial perspective effect. Is this normal?
In my understanding, the camera perspective matrix is only used to retrieve the original world positions of each pixel on the screen.
Here is a minimal reproduction example, where the camera's far value is set to oscillate, and we see the knot object blinking as a result of the aerial perspective effect: aerial-perspective+changing-frustum.tsx
This occurs both with and without log depth buffer.
Reproduced from version 0.13.2 of
three-atmosphere, up to today's dev version (so at least 0.14.0).