creating lightsources

BlitzMax Forums/BlitzMax Programming/creating lightsources

Thats exactly how vertex lighting works with point lights. You have a radius, brightness etc...

I don't need a 3D engine, just high level access to the quad.

Basically, SetVertexColor v,r,g,b

We know where the verts are as they will be on each corner of the quad.

Right now we can use SetColor but it in actual fact, sets all 4 vert cols at once. So maybe I'll look at writing a command based off that...