Skip to content

MIS and delta lights #59

Description

@szellmann

This is another minor issue with the new shading system. It looks as though MIS is broken, at least for delta lights.

This is rendering the default Vela scene; the sphere is glossy (roughness=0, which gets clamped to something small). I'm using Visionaray as reference for rendering with path tracing and NEE/MIS. I'm directing your attention towards the noise in the specular highlight from the directional light on the sphere surface.

Left is Barney.

1 SPP:
Image

4 SPP:
Image

64 SPP:
Image

Note how in the reference images (with MIS to discriminate light and BRDF samples using the power heuristic) the highlight is virtually converged fully after one sample. This is because the light source is delta, the BRDF is nearly delta, and thus the light sampling PDF should be close to 1.0 and the BSDF PDF close to 0.0. I haven't checked the implementation at all, but it reminisces of an issue with how the MIS weights are applied.

Again adding @tarcila, as discussed earlier on Slack.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions