UNPKG

playcanvas

Version:

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

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