Hello,
I am using MonoBehaviour.OnRenderObject in one of my classes to render my own geometry. I have found after doing some profiling, that for each call to the classes Update function, my overloaded OnRenderObject function is being called 3 times in the Editor and 2 times on the iPhone.
Does anyone know why this is happening because, the geometry i’m rendering is costly and as such needs to be as efficient as possible, and thus rendering the geometry multiple times is somewhat over-kill :).
So if anyone has any advice on why this would be happening, I’d be very appreciative if you could help.
Thanks