Max2D uses quads, not tris. Whether your graphics card treets the quad as two triangles or not is up to the driver.
The theory is correct though. The square has four corners (vertices) and it's possible to colour each vertex individually. The colour is blended between the vertices.
Incidentally, is it not possible just to use OpenGL's standard lights?
The theory is correct though. The square has four corners (vertices) and it's possible to colour each vertex individually. The colour is blended between the vertices.
Incidentally, is it not possible just to use OpenGL's standard lights?