Hi everyone,
I'm using 6 cameras with oblique frustums in order to display onto a 240° curved dome screen. I have a script attached to each of the cameras in order to set a custom oblique projection matrix every frame in LateUpdate - the script is the exact same as [Unity camera.projectionMatrix][1].
This works great, though the oblique frustum is no longer applied upon using the Post Processing Stack 2.1.7 with Unity 2018.2.15f1. Adding a Post Process Layer to my cameras applies post processing but renders the final image without the oblique frustum. [Here is a video][2] showing a camera rendering with an oblique frustum and post processing - toggling post processing on/off toggles rendering the oblique frustum.
I've tried moving the code to set a custom projection matrix into Update, LateUpdate, and looked into Unity's execution order, but it seems I can't get the oblique projection matrix with post processing. Is this a limitation in the new post processing stack, or post processing in general? Is there a way to get both an oblique frustum and post processing together?
Thanks!
[1]: https://docs.unity3d.com/ScriptReference/Camera-projectionMatrix.html
[2]: https://drive.google.com/file/d/14wdbvb3Wh_u91F8aZVbldh3Ee5c-BOPq/view?usp=sharing
↧