virtual-world-framework/vwf — pull request #287 by BrettASwift (2014-07-24 20:22:43+00:00)
Title: Improved analytic shader time handling

@eric79 @davideaster @kadst43

Simple, but effective changes to the AnalyticShader particle solver. First, I changed the `time` uniform to be in seconds, instead of it being measured in 3.333 second chunks (that made no sense to me). Second, I modified the shader so that `lifetime` is the elapsed time that the particle has existed up to the lifespan of the particle. This way, position is updated by velocity per second and acceleration per second squared. Particles now exist for the set lifetime.

All of the particle tests using the AnalyticShader will probably be much, much slower and need to be sped up.