Added a velocity factor to the shader.