added functionality for environment lerp/slerp