I've been reading some online OpenGL tutorials on how to create fog, but I can't get it working in BlitzMax. Does anyone have any samples on how to create fog/clouds using OpenGL in Blitzmax? I'm making a 2D sim and I would like to add fog and/or cloud cover to obscure portions of my tile map.
Blitzmax GL Fog
BlitzMax Forums/BlitzMax Programming/Blitzmax GL Fog I'd be very interested to use opengl fog too! Maybe I could put some really cool nebulae in the backround in my space shooter with this?
If it's only 2d, all you need is SetBlend LIGHTBLEND