creating lightsources

BlitzMax Forums/BlitzMax Programming/creating lightsources

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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?