No more support for animated-texture.js? Workaround?

I’ve been away for a few months and am embarking now on a big new project and finding a lot of changes have been implemented. Currently, I am trying to use a tiled texture to create animated fire with “animated-texture.js” (I did this in previous projects to good effect) but it doesn’t seem to work, and the sample tutorial for that effect seems to be removed.

Does that technique no longer work? What’s the workaround?

I suspect its related to this API change (but I have not checked the project).

If yes, than the project might need to be updated to use this changed API

1 Like

Here’s a version of the older tutorial that’s been updated to use the new uniforms: https://playcanvas.com/editor/project/867092

Script: https://playcanvas.com/editor/code/867092?tabs=64649335

2 Likes