added essential code for cube mapping