move clipspace scales to shader