Ok, for a while i have this problem with rendering scifi-like phasers for my game, the thing is, i have to use a proper texture for the ray, and it has to be aligned to always face the screen, something like a "billboard line".
Here is my miserable attempt.. using GLplane, i cannot figure out how to make this thing orient at the camera:
I am looking for any sort of advice on how to do this properly, any help will be greatly appreciated. also i'm using glscene for object management so if you can figure out something that i can use from glscene it would just.. rock.
Bookmarks