Forum Discussion
cruncher3019
12 years agoHonored Guest
Game Fog Issue
Hello.
I am having an issue where I apply the Global Fog effect to the left and right camera for the OVR in Unity and it often comes with some off offset, not aligning properly with the terrain or models. I have provided to pictures below:
http://i.imgur.com/LqotTlt.png
http://i.imgur.com/MpfZlkE.png
Has anyone experienced this issue or know a possible fix?
I am having an issue where I apply the Global Fog effect to the left and right camera for the OVR in Unity and it often comes with some off offset, not aligning properly with the terrain or models. I have provided to pictures below:
http://i.imgur.com/LqotTlt.png
http://i.imgur.com/MpfZlkE.png
Has anyone experienced this issue or know a possible fix?
4 Replies
Replies have been turned off for this discussion
- cyberealityGrand ChampionYes, this is a known issue.
As far as I know it has to do with the way we are altering the projection matrix to do the stereo.
Unfortunately I don't know of a fix right now. I can try to bug one of our Unity developers to see if there has been any progress here. Otherwise you may have to write a custom shader for the fog. - boone188Honored GuestYeah the fog shader would need to be rewritten for the Rift's offset projection matrix. Too bad I don't have all the time in the world..
- smxHonored GuestDreadhalls has a fog effect, how do they do it?
- cruncher3019Honored GuestThanks for letting me know, guys.
If Dreadhalls has it working, I assume the edited the shader.
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
- 1 year ago
- 1 month ago
- 1 year ago
- 1 year ago