UNPKG

playcanvas

Version:

PlayCanvas WebGL game engine

9 lines (7 loc) 236 B
var particleUpdaterNoRespawnPS = ` if (outLife >= uniform.lifetime) { outLife = outLife - max(uniform.lifetime, (uniform.numParticles - 1.0) * particleRate); visMode = -1.0; } `; export { particleUpdaterNoRespawnPS as default };