- Home /
How to per-camera billboard World Space UI Canvas?
I am setting up a multi-camera split-screen scene with a world-space UI Canvas that billboards towards each camera. I have tried attaching the billboarding logic to each camera’s OnPreCull and OnPreRender events (which works for any non-UI Object), and also parenting the Canvas to an object that does the same transformation logic in OnWillRenderObject (Which will not work on any UI Object directly). None of these techniques work.
Is there any existing equivalent to OnPreCull or OnPreRender that works on UI Objects, or is there another way to accomplish the same effect, or an explanation as to why world space canvas rendering seems to be different? I do not see much documentation on how UI Objects are rendered in World Space. I am using Unity 2018.3.0f2.