I mean things like the Team Fortress 2 medic gun:

TF2 Medic gun

...or the Killzone: Shadow Fall anti-gravity effect:

KZ:SF anti-gravity

How do these work?

  • 4
    \$\begingroup\$ -1 Seems like a very broad question to me. What specifically about the effect are you having trouble with? \$\endgroup\$
    – House
    Commented Feb 17, 2014 at 14:20
  • 1
    \$\begingroup\$ @Byte56 Well I'm relatively new to graphics programming so at the moment I can only guess how there created, and that would be that there created using smoke-like fluid simulations, if this was the case I guess I'm basically asking do modern computer games use cpu intensive particle systems or GPU-based techniques like volume-ray marching to create these effect, or do they use another technique?, however if that guess is wrong I'd like to know what techniques are used. \$\endgroup\$ Commented Feb 17, 2014 at 15:07
  • 2
    \$\begingroup\$ I don't think its a broad question, he's provided images to show what he wants to achieve. Im learning Unity for the first one i'd probably use some kind of trail renderer setup and the second one i'm not sure, its basically an animated prefab, so you'd have it appear at the hit location and then animate until its done. Basically you create a see through bubble in your favourite graphics program and then update it once per frame in the engine of your choice \$\endgroup\$
    – Mrk Fldig
    Commented Feb 18, 2014 at 1:30
  • 2
    \$\begingroup\$ Investigate about particle systems. \$\endgroup\$
    – Raúl Roa
    Commented Feb 19, 2014 at 10:00
  • 1
    \$\begingroup\$ This a combination of many effects, not just a single one, though I suppose you could do low quality versions of both with particles. \$\endgroup\$
    – API-Beast
    Commented Feb 26, 2014 at 6:47

2 Answers 2


Typically the trick to this sort of effect is use of scrolling textures. Particles will often be involved but they are usually only an embellishment.

It is the case that effects like this are bespoke and although they share a similar starting point the final effect is always a result of tweaks and tinkering until the art director is happy.

To take the effect to its most basic however you have two elements: the geometry and the texture coordinates. The geometry defines the basic outline shape of the effect while the movement of the texture coordinates defines movement within the geometry (and of course the texture itself defines the shape of whatever is moving along the geometry).

So for example, if you wanted some sort of arcing energy gun, you could construct a camera facing triangle strip along a path from gun to target, and change the shape of the arc over time to give a sense of dynamism. You could then animate the texture coordinates so that the texture scrolls down the length of the beam to give the impression of movement from gun to target. Use alpha in the texture to soften the edges and give the illusion of pulses. This would obviously be a very basic effect but add another set of texture coords and you can start to build something that looks far more complicated than the sum of its parts.


As Mr. Beast say, these effects (like fire, auras, etc.) are usually made with particle systems.

A particle system simulate a lot (10-10000?) small elements emitted by a source, an that flow through a path. The path may be as complex as required.

Each particle is shown in the scene with a sprite. And may be improved with an animated texture, blending effects, or shaders.

For very simple auras, some games just use 3 axis-oriented quads with a amazing animated texture.

Following a youtube example of particle system. https://www.youtube.com/watch?v=a8uZUqIEsoI


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .