How do you do 2D drawing in BMAX and OGL?

BlitzMax Forums/BlitzMax OpenGL Programming/How do you do 2D drawing in BMAX and OGL?

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.

Local Red2#= (1.0 / 255.0) * Red
Local Grn2#= (1.0 / 255.0) * Grn
Local Blu2#= (1.0 / 255.0) * Blu
e.g....
Local Red2#= (1.0 / 255.0) * (Red/2)
Local Grn2#= (1.0 / 255.0) * (Grn/2)
Local Blu2#= (1.0 / 255.0) * (Blu/2)
is half colour
P.S the way to think about it is...
255 = 1.0
1 = 1.0/255
RED = (1.0/255)*RED