use vec3.clamp in view-dep extraction