Hi there, I have 110 * .png images (they have degrees of transparency). I need to display these animated images on a simple plane object. What is the best way to do this? Here I found how to display a transparent texture:
https://playground.babylonjs.com/#YDO1F#75
The problem is how to animate this texture with a sequence of images?
Video texture does not support degrees of transparency - This is not the way to go …Thanks for response.
create all your textures upfront and simply switch mat.diffuseTexture based on a timer so you will have the desired effect.
2 Likes
There’s also opacity to consider Apply Bumps, Opacity, Tiling and Detail Maps - Babylon.js Documentation
2 Likes
Thanks for reply. One material can have one diffuse texture. How to load 100 and more textures efficiently? Normally into array in the for…next cycle? Also with regard to performance. Thanks.