Skip to content

Denoising on empty pixels yields random colors #90

Description

@nyorain

v4.14.0-fixed, with REBLUR_DIFFUSE:
We set viewZ to NRD_FP16_MAX for pixels without depth. And we put NRDs internal textures that are marked as transient into aliased memory.
When moving the camera, we get random colors suddenly appearing at the horizon (i.e. near the infinite-distance pixels).
If we either:

  • don't alias the internal textures
  • or set viewZ of the no-depth pixels to something within denoising range (with radiance=0),

we do not get this issue.

The random colors are more obvious during low-light settings. They look a lot like uninitialized memory accesses. Could it be that some internal textures are not written for out-of-range pixels but read later on thus yielding undefined content when the texture is aliased?
I am sadly not allowed to share footage.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    answeredQuestion answeredquestionMore a question, rather than an issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions