1
Graphics / Re: Questions about blending
« on: November 05, 2012, 11:09:54 pm »So what takes time is redrawing the minimap, not doing it specifically to a render-texture. So I don't understand what your problem is, because you'll have to draw it anyway, whatever technique you use on top of it to create the circle mask. So it will always be that slow.
Well, normally I would agree with you, but when I remove the render-texture part of the code and draw the exact same things directly to the screen I don't lose a single ms in the function. Though it does lose a bit of aesthetics, read 'horribly ugly'. (Don't expect you to be able to do much about it though, the 945GM isn't exactly powerful)
At least it's a good reason to optimize my code, otherwise it won't even be playable on my own laptop.
I'll just have a look at doing it the OpenGL way, stuffing a few push/popGLStates in there, and seeing if the rendering time improves.