Added viewMatrix support