A full tutorial (and project files) about how to make a fire torch flip book having less visible repetition by using channel packing and also flipping the texture over time. Very cool approach!
Discarding pixels early on to avoid calculating the pixel shader sounds simple. So why is this article so long? I guess... it's not that simple after all. :D