Why has a sprite two triangles?


as seen in the picture below, a sprite consists of 2 triangles. Is it basically a plane static mesh with a material applied on it?

Thank you,


Because everything’s made out of polygons ( triangles ). A square has two. Maybe you can do a triangular sprite, then it would have just 1.

More specifically, triangles cannot be curved as a plane, they can only lie flat; any 3 points are always co-planar where as 4+ can be messy… As a result, wrapping textures across an always-flat surface is faily easy and not prone to warping/errors. This is why everything is devolved into triangles when making a mesh. A sprite, at the minimum being a square, needs two tris to be complete. One might ask why not just the 1 tri, I don’t know that…