mrdoob/three.js — Issue #805: Struct Array Uniform?
Author: prutsdomj
Created: 2011-11-27 20:31:56+00:00
State: open

Is there a way to pass an array of structs into GLSL as a uniform?

There is a way to do it just in WebGL as follows:
http://stackoverflow.com/questions/8202173/setting-the-values-of-a-struct-array-from-js-to-glsl