Forum Discussion
drash
13 years agoHeroic Explorer
Getting Sunshafts to work properly with OVRCamera
I started playing with the SunShafts image effect in Unity (for this demo: https://developer.oculusvr.com/forums/viewtopic.php?f=42&t=490), and I realized I'm not sure how it's supposed to work with O...
drash
13 years agoHeroic Explorer
"cybereality" wrote:
Well it's possible that something with the OVRCamera is not compatible with that particular effect (for example, the custom projection matrix). I did just test it with the Tuscany level (adding sun-shafts to both cameras and setting intensity to 3), and I got the same blown-out image as you posted.
However, even when testing with a standard 2D camera, the sun-shafts at 3 seem to display the same problem (large blown-out white areas). So I am not entirely sure if its a problem with our code or maybe just a side-effect of how the sun-shaft shader works. I think especially with the high FOV it may make the problem more apparent.
Aha! That's an interesting point about the FOV. That's probably the fundamental piece I'm missing here. Out of town for now but I have stuff to try when I get back. Thank you!
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device