My shader works fine for both pc and android with 13 textures, but on ios I’m getting errors after passing more than 8 textures (or in some cases 9)
TypeError: undefined is not an object (evaluating ‘this.textureUnits[textureUnit][slot]’)
So, is there any stronger limitation on textures count you can pass to shader on ios, or am I doing smth wrong?
This is my project : https://playcanvas.com/editor/scene/622827
I’m passing textures to my shader in Scripts/main.js, lines 187 and 193-205