The final shrine (Shrine of the Goddess) is inside the Great Tree, within the Sacred Forest area. Reaching it is required for the true ending.