small performance fix

this removes the unnecessary overhead of getting the uniforms for every object.
debug mode is quiet playable now :)