The array of values that is passed to the shader by threejs is created once and has a fixed length. Threejs does not check if the value length changes. This will reset the array when the uniform value length has changed so threejs will recreate it with the proper length.
@kadst43
The array of values that is passed to the shader by threejs is created once and has a fixed length. Threejs does not check if the value length changes. This will reset the array when the uniform value length has changed so threejs will recreate it with the proper length.