fserb / canvas2D

Update Canvas 2D API
Other
149 stars 25 forks source link

[Mesh2D] Triangle order #37

Closed alancutter closed 11 months ago

alancutter commented 11 months ago

In the case of overlapping triangles what order are they drawn in for blending purposes? Can this be controlled?

fmalita commented 11 months ago

Logical triangle draw order is the order specified in the index buffer. Clients can control that by reordering the index buffer content.

alancutter commented 11 months ago

Thanks!