I haven’t found any solution for panoramic cameras, and my bug report looks abandoned. So I can’t find a better way, but add explicit switch to set camera type based on the camera that you are using.
There is this bug where the parallax texture coordinate gets all skewed on backfaces and/or with one of the UV coordinates negative. If both U and V are negative then it looks alright. The coordinate stops looking distorted with a U or V coordinate negative though.