Closed Handicap closed 4 years ago
Here is from my fork which automatically checks if SRP is used.
Note for me, android ndk:
@hawkwood Thank you for the code
@Handicap I merged it to branch public_dev
, you can check it out and give me feedback if it works for you.
Forget about the branch. I just released a new pre-release version, you can use the unitypackage to test if it works.
I released Version 1.0 and URP is supported.
I'm going to close this ticket. If issue still persists, you can reopen this ticket, or create a new one.
Thanks for the great plugin while the main cardboard plugin project has features still in development (mainly GLES3/Vulkan/Metal support)!
I tested the plugin with different setups and with scriptable rendering pipeline in use, there is no call for OnPostRender() function. This means that the plugin doesn't work out-of-the-box with SRP. This is however was easy to remedy by modifying the following to replace the OnPostRender() in CardboardPostCamera.cs:
This could be somehow incorporated to the plugin so there would be no need to change the contents manually, however the fix is quite simple to do if the developer knows about the differences between calls with old Unity pipeline and SRP.