8000 Get rid of shadow acne · Issue #34 · athas/raytracers · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Get rid of shadow acne #34
Open
Open
@athas

Description

@athas

The black dots marring the single-precision implementations are because of numerical error, which causes the hit to be computed as within the sphere, not on top of it. An easy fix is to move the collision point a tiny amount in the direction of the hit normal. I've verified that this works, so now I guess I have to change it in every implementation...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0