Skip to content

Support raymarching distance in prepass, shading in main pass #16

@ProfLander

Description

@ProfLander

Seeing as #15 is non-viable for now, the prepass could be put to better use by building the SDF equivalent of the basic depth shader. This would allow the fragment shader to skip raymarching entirely when the prepass is enabled, putting its implementation more in line with a regular geometry-based fragment shader beyond the initial texture read.

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