Forum Discussion
Neuromancien
11 years agoHonored Guest
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!
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
- cyberealityGrand ChampionPost 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? - NeuromancienHonored GuestThanks for the Reply.
Yes, the MonoBehaviour.OnRenderImage is working fine.
My issue with MonoBehaviour.OnRenderImage was related to a scripting bug.
Thanks again - cyberealityGrand ChampionAh, OK. Thanks for following up.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 9 years ago