Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Similar to the disintegrate skill in Diablo 3. It should not light other objects in scene. Just glowing and animated. Like in this video

Should I use pack of pre-computed glow sources textures for each frame of ray animation like in this article and put it in bloom shader?

enter image description here

Is there any other efficient ways to achive this effect? I'm using OpenGL ES 2.0.

share|improve this question

Yes, you should try implementing it the way you suggest.

Another way would be to create the animated ray in an art program. Export it to a sprite sheet and just use a textured quad to display the animation where you need it. That would be very efficient.

share|improve this answer

If your camera will always see the ray almost perpendicular you can use just one large quad, but if you want volume when seen from other angles try using three or four intersecting large quads. This quads intersect in the middle of the quad (if seen from actor perspective we should see an star like structure).

Take a look at the wire-frame near the thrusters, those polygons are used to create a kind-of-volumetric-effect there.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.