set sampler uniform value