If I have 10 different shaders for drawing 10 different shaded objects that need the same view matrix
do I need to update this view matrix for every shader which means that I have to call gl.uniformMatrix4fv() 10 times every frame?
In directx 10 in one file I can have 10 shaders and only one global "viewMatrix" variable which means I only need to update the view matrix one time per frame.
Can something similar be done in webGL?