Posted inGame Development
Determine Unity’s Rendering Pipeline at Compile Time
I've been updating my Smooth Screen Transition asset to support VR in Unity's new Universal Rendering Pipeline (URP). Since Screen Space UI doesn't work with VR and you can't use the GL api with URP, I needed to look for an alternative and found this bit of code that uses Unity's CommandBuffer to draw a full screen quad to the…