I haven't tried this code, but quickly sometimes you need to use a floating point texture to avoid rounding errors (you can't do very subtle alpha things with regular 24 bit fbos). the fboTrails example shows how to allocate a floating point fbo to do better trails.
↧