Kinc
Kinc copied to clipboard
[OpenGL] Optionally use UBOs for everything
On some or even all platforms UBOs allow more data than plain uniforms do (we looked it up and I think it was typically something like three times as much but I'm not sure anymore) but sadly ES 2 doesn't support UBOs - so we will have to output two shaders to provide backwards compatibility.