My little Suzuki 5 door hatchback have a vertical glass on the hatch, i have never had problems with rear cameras and the ability to aim them strait out the back.
As the wipre reach the very top i have preferred to mount cameras off the clean metal frame of the rear hatch ( rock bottom model so no trim plastic on the rear hatch, or at least not around the window.
This was a little problem CUZ i wanted to film above the top heater line, so for may years i have mounted cameras to a 12 MM thick neodymium magnet also acting as a spacer, only when i have had several more systems to test have i been forced to mount on the rear glass and so with those cameras film in between the 2 and 3 from the top heater lines.
That worked too, just stealth are totally out the window, but it is anyway when you are a dashcam tester and have 4-5 systems in the car with upwards of 10 individual cameras some times.
Now in the Trucks, the main problem with a camera on the rear window is that some times it is a split window that can slide to the side, so in that case if you use that, you have to compensate by mounting offset, which are generally not a big problem with the wide angle lenses dashcams use.
A + for that kind of install is you have coverage of what is in the bed of your truck.
A - for that kind of install is, your bed and the rear hatch will take up a lot of the footage, and the rear hatch, well a car will have to be a few car lengths behind you, for you to be able to see the plate in the footage ( assuming your state have front plates )
A few brands offer a waterproof rear camera you can put way out back, the - with doing that is it is right there in the elements, and you probably know all too well how much crud can accumulate on the back of a truck, and so also on the camera lens.
The user Dashmellow is our resident dashcam + truck specialist, thats what he drive, and he have side cameras too.
Now you dont really want to be recording regular full blown footage when parked, this generate the MAX heat in the camera, and then + the sun beating on your car and the camera will soon reach MAX temperature and do a safety shutdown.
That is why the dedicated parking guard modes have tricks like time lapse or recording in a lower bitrate as they both generate as little heat as possible
For instance i had a system i ran parking guard on ( 1080p resolution ) for the 3 minute segment size i like to use it coughed up 350 MB large files, but when i parked and the camera changed to low bitrate parking mode ( that always record + have sound ) well then the files was just 128 MB in size, and so room for much more footage on a memory card.
I was worried as low birate are a quality thing too, so i at once tested it parking curbside to a town road ( 60 KMH VS the default Danish town speed MAX of 50 KMH.
And it worked just fine for plate capture as there was light at the time.
Now your always on socket, for some cameras that will not be a problem as they have the low voltage cut off in the camera itself, and those also change to parking guard after a few minutes of 0 activity on the G-sensor in the camera.
So with one of those you can have parking guard and use your always on 12 V socket in the dash / console.
But most dashcams are 5 Volt cameras and will require a hard wire kit to be installed to be able to do parking guard, these will need two 12 V wires + ground, one 12 V that is always active, and then a 12 V that is ACC and this will then be the trigger that will tell the system to go to or from parking guard.
Main thing is to have a low voltage cut off, CUZ your car battery, well they are not made for deep discharge, so you be wise to keep it at 12.2 vilts at least ( normally the cut off options are 11.8 - 12.0 - 12.2 - and 12.4 volts )
I have no personal experience using 512 GB cards, i have a substantial collection of 256GB cards i use when testing systems, but i have not yet been able to pick up a 512 GB card, i am on a pension here and Denmark aint cheap for anything, even if they say we have free schools - healthcare and what not,,,,,, its not really free, you pay a substantial tax to enjoy those.