Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Neuromancien's avatar
Neuromancien
Honored Guest
11 years ago

MonoBehaviour.OnRenderImage

Hi!

I've attached a behavior scripts to the right and left cameras of the OVRCameraRig. That script define OnRenderImage to be able to generate a post-effect on each eyes.

Everything is OK (post-effect) when I run the game in the editor.

But, when I build then run the game I don't see the post-effect. It's seem the build system disable any calls to OnRenderImage?

Any ideas?

Thanks!

3 Replies

Replies have been turned off for this discussion
  • Post effects should be supported. Can you tell me what OS and API version and Unity version you are using?

    What are the inputs or shaders that are used with the effect?

    Also, also chance you can share a bare-bones example project that shows the issue?
  • Thanks for the Reply.

    Yes, the MonoBehaviour.OnRenderImage is working fine.

    My issue with MonoBehaviour.OnRenderImage was related to a scripting bug.

    Thanks again