drawimage+OpenGL draw poly
BlitzMax Forums/OpenGL Module/drawimage+OpenGL draw poly
| ||
Is it possible to use the drawimage command to draw a sprite to the screen buffer and then use OpenGL commands to draw triangles on top of this image on the same screen buffer? I`m looking to draw shadows on top of a 2d picture and I`d like to use the drawimage command to draw the picture and openGL to draw the shadows. Thanks, |
| ||
I would believe so. I've mixed the native Blitzmax draw commands with OpenGL several times. I think the only catch was I had to set the graphics driver to GLMax2DDriver(). That allowed me to use the max drawImage/drawText/etc commands while still using openGL calls. |