Mirroring camera horizontally post processing

Hi all,

I’ve switched my racing game project to URP & one of the post processes I was using was to flip the camera so the player could race the tracks mirrored. To do this I used this package from the asset store. Unfortunately it doesn’t support URP and only pp stack v2. I tried emailing the developer but the email gets returned and I tried converting the asset myself but I don’t know what I’m doing.

Can anyone here help?

Thanks

It’s a simple effect and you can create it yourself in URP.

You need to sample the scene texture with flipped UV coordinates.

One way is to use a full screen shader graph (URP 14 or higher):

And attach the material to a full screen pass renderer feature (require color):

There’re some tutorials on adding custom effects to the URP Volume if you want to dive deeper.

Thanks, I’ll try that

This didn’t work for me :frowning: for some reason it never took effect.

Could you provide more information? Are you using the latest version of LTS?

Yes 2021.3.30 was the latest version I could get my older project up to. URP. I ended up fixing this with a camera script instead tho.