outline

BlitzMax Forums/BlitzMax OpenGL Programming/outline

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.

How would you add an outline to an 2d image in openGL? Lets say that I load the picture shown below and create a quad which uses this as its texture. Is there a way to make an even outline?

I tried just upscaling it and drawing it all black, then set the scale to 1 again and draw the image on top, but that doesn't work.