Add ShaterMaterial.setInts method


ShaderMaterial supports setInt, setFloat and setFloats so I wonder why is there no setInts?
If no technical reason contradicts this, I would suggest adding it.


ints are not supported for uniforms so this is why :slight_smile:

Hmm, when I look at the MDN WebGLRenderingContext.uniform[1234][fi][v]() - Web APIs | MDN it seems that it is supported (uniform1i and uniform1iv).

Sorry I read too fast, I meant “attributes” and not “uniforms”. (I’m back from vacations today and I try to catch up ;))

So to your question: yes please do a PR to add them :slight_smile: