OpenGL ES 2. How do I Create a Basic Fading Streak Effect?
- by dugla
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.