ribbon effects!
Moderator: Moderators
ribbon effects!
if someone is pretty well read on this stuff could someone add them?
http://www.gamedev.net/community/forums ... 1�
They are used a lot in warcraft III as well. Just a handy effect if someone could add it :)
http://www.gamedev.net/community/forums ... 1�
They are used a lot in warcraft III as well. Just a handy effect if someone could add it :)
Fairly simple in lua:
glBeginEnd(GL.QUAD_STRIP, ...) + gl.Blending(GL.SRC_ALPHA, GL.ONE)
You could probably do a faster version with a fixed geometry display list,
a gradient texture, and a varying texture matrix to do the swoosh effect.
If you wanted to go the shader route, then you have even more options.
P.S.: Ya, could be built in to the engine as well...
glBeginEnd(GL.QUAD_STRIP, ...) + gl.Blending(GL.SRC_ALPHA, GL.ONE)
You could probably do a faster version with a fixed geometry display list,
a gradient texture, and a varying texture matrix to do the swoosh effect.
If you wanted to go the shader route, then you have even more options.
P.S.: Ya, could be built in to the engine as well...

Question: how much power do modders have over projectiles? Because to me, it sounds like the best approach would be to do a trail as a special kind of piece. Then you could hide and show the piece like any other piece in the COB script, and if it were attached to a projectile, it would leave the appropriate trail behind the projectile. Ideally being able to bind it to a section of the model's texture for the trail-texture, or something like that.
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59