Is this useful?

BlitzMax Forums/BlitzMax Beginners Area/Is this useful?

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.

The function works perfectly here. But I see what you're saying. It wouldn't be optimal in a realtime situation.

Instead of calling the glColor function it'd be faster to just do the math ie:

glColor3f( 100.0/255.0, 200.0/255.0, 245.0/255.0 )