Skip to content

Division by 0 in Cloud.shader ? #4

@VylsainLab

Description

@VylsainLab

Hi Sebastian.

In your cloud shader, your rayBoxDst function takes an inverted vector as a parameter and you are passing "1/rayDir".
How do you handle a possible 0 division in that case ?

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