Skip to content

Conditional lines hide the silhouette edges when the threshold is high #46

Description

@pailhead
Image Image

I did this same thing a while back and used a fall-through of sorts, that you can see here:
https://github.com/pailhead/three-line-outline/blob/master/src/glsl/outline.vert

So the idea if it is an edge that belongs to the outline, just exit early. Otherwise, let the threshold do it's thing, if it's valid, exit again. In the end, move the vertex outside of ndc and dont rasterize.

Image

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