Implement set-uniform for shaders