miko3k
1
Structured uniforms should be supported in three.js. NodeMaterial is based on ShaderMaterial, therefore it should support them as well.
https://threejs.org/docs/#api/en/core/Uniform
however, NodeBuilder seems to emit uniforms before the structure definition, therefore GLSL has no chance of compiling…
is this a feature or a bug?
1 Like