UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

7 lines (6 loc) 242 B
var particleAnimFrameLoop_default = ` let animFrame: f32 = floor((output.texCoordsAlphaLife.w * uniform.animTexParams.y + uniform.animTexParams.x) % (uniform.animTexParams.z + 1.0)); `; export { particleAnimFrameLoop_default as default };