UNPKG

playcanvas

Version:

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

6 lines (4 loc) 224 B
var particleAnimFrameClampVS = ` let animFrame: f32 = min(floor(input.texCoordsAlphaLife.w * uniform.animTexParams.y) + uniform.animTexParams.x, uniform.animTexParams.z); `; export { particleAnimFrameClampVS as default };