According to the documentation the Shader material should have a setArray4()
However. This does not seem to be making itself available on a custom shader. There is also mention of it being available via an effect. However after putting the custom vertex and fragment shaders into the effects store and then attaching them to a material as in your documentation.
If I then try to get the effects attached to the shaderMaterial I just comes back null. So can’t get the effect to attach a Vec4 array uniform to.
Any idea where I am going wrong. If it can’t be answered will try to knock up a mini project to demonstrate.