Skip to content

Soft Shadows via Light Source Sampling #14048

@bhouston

Description

@bhouston

The idea here is that we use the fastest shadow algorithm possible, and then accumulate it across frames. To get accurate accumulated soft shadows, we should jitter the light origin within the volume of the light. For a lights of any type we jitter in their volume in a Poisson-like fashion. This will create physically correct penumbra if you accumulate over time.

We can either accumulate in the main frame buffer or we could accumulate in a shadow buffer.

Sketchfab is currently jittering their light sources in order to get soft shadows when the scene is static. We have also recently implemented a basic light jitter approach in Clara.io and it gives good result. We should take it to the next level and integrate it with core Three.JS.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions