Add legacy singlepass shaders.
Divide vector before multiplication.

Also remove the vector multiplication, it is unnecessary.