Skip to content

Refactor intersection and add Woop’s Watertight #63

Description

@doubleailes

crates/crust-render/src/material/cook_torrance.rs [87-89]

The denominator in the specular calculation should use max(n_dot_v * n_dot_l,
1e-4) instead of adding 1e-4 to the product. This ensures proper handling of
grazing angles while preventing division by zero.

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