Why does WebGL put limit on uniform size?

Viewed 742

Currently WebGL on my browser only supports 1024 * 4 bytes uniform. However, I can put the data in a texture instead. What's the difference between storing data in an uniform array and in a texture? What's the size of uniform sampler2D?

1 Answers
Related