Skip to content

Camera frustum values affect aerial perspective #89

@Neptilo

Description

@Neptilo

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions