Ability to use arrays with shader constants (DEF-2055)

Needed by another user, but did not make a proper request for it. Shader constants are only allowed to be vec4s currently, but they could be arrays too. This would be useful for many reasons and would reduce the amount of busy work needed to be able to pass larger amounts of data to shader programs.

3 Likes

Created a feature request: DEF-2055

3 Likes

I’d love to see this feature too. More generally though, I’d like to see support for uniforms of any glsl type, as well as uniform arrays of any glsl type. Arbitrary structures would be awesome too, but that might be a bit much to ask, considering the way the material editor table currently works. I could certainly work around the absence of structures if we had arrays.

2 Likes