I’m trying to figure out how to set int array or ivec array to shader.
I’m using ShaderMaterial to set up my shader. There are setArray methods on ShaderMaterial but they seems to me to work only with floats:
Am i doing something wrong?
There are setIntArray methods thet are look like do the stuff i need in Effect and Engine classes, but i can’t figure out can i use them and how.
Also i found request to add missing methods to ShaderMaterial Add missing setXXX methods in ShaderMaterial
But it seems thet only setMatrices method was added.
Thanks in advanse