Code in place for passing the view dir to the ambient shader.