OpenGL ES 2. How do I Create a Basic Fading Streak Effect?
Posted
by
dugla
on Game Development
See other posts from Game Development
or by dugla
Published on 2012-11-10T15:14:23Z
Indexed on
2012/11/10
23:18 UTC
Read the original article
Hit count: 289
For the iPad app I am writing using OpenGL ES 2 I have a single quad - shaded using GLSL - that is dragged around the screen. Very basic. This works fine. But is rather boring.
I want to increase the coolness a bit in the following way: when the user drags the quad it leaves a streak behind that fades over time. Continuous dragging would be a bit like a streaking comet across the night sky.
What is the simplest way to implement this?
Thanks.
© Game Development or respective owner