Skip to content

can't create mesh with reversed faces #2

@22andrew22

Description

@22andrew22

I've created the first polygon with
polygon = Polygon2D.Contour (pointlist.ToArray()); triangulation = new Triangulation2D (polygon, threshold); go = Instantiate(prefab); go.GetComponent<DemoMesh>().SetTriangulation(triangulation);

However, when i feed polygon with a reversed pointlist, i get a polygon with the same face. Whats the correct way to do this without a custom shader as was done in the demo?

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