Uniform1i optimization

These patches aim to reduce CPU overhead from redundant uniform* calls, which occur frequently in scene.js apps such as biodigitalhuman.