Hi everyone. I have an Object with 17 uv channels and I want to set the diffuseMapUv differently for every time when in spawns but unfortunately it is not changing when I’m launching it here is my Code for it:
when I’m launching the scene it just sets the Material’s UV channel to 0
UV’s of the model were imported just fine. I think the issue here is StandardMaterials do not support more than 2 UV sets (UV0 and UV1). Am I right in this one @yaustar?
The trick here is to switch the UVs of the mesh itself.
I’ve set up an interval of 3sec and then the UV’s of channel 0 are replaced with the Uvs of the next channel.
Be careful to store the UVs o channel 0 somewhere because they’ll be lost after you replace them once. I did not cover for that in my sample
Thank you Francisco. this was very helpful. Now I have another problem I needed 17 UVs and since it’s limited to 7 . I think I need 3 different models.