Because it's a engine remake, and i need to use existing texture that look like this:Originally Posted by ize
These are then colored to match specified phaser emitter color by the engine.
Well actually, the game i'm rebuilding is even more complex (size was intentionally exaggerated to make the shape and complexity more obvious).
But i'll be happy if i can draw a quad facing the camera for now, when that works i can work on more complex shapes.
The project is opensource, and has a sourceforge project here: http://sourceforge.net/projects/st-sc
No releases yet, but i can get you a working demo if anyone is interested.
Right now my game renders these phasers with TGLPipe in a solid color, but the pipes don't have any uv mapping and cannot draw quad lines, so they are unsuitable for this use.
This is how they look with Tglpipe:
Bookmarks