Forum Discussion

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

Depth Of Field 34 (not working in stereo)

Hi Unity 4 Integration devs!

I have a question about DOF image processing effects with the Rift. It doesn't seem to work at all, I get weird masking shift effect on each eye. Does anyone know how to solve this? either DOF script does not work.

It works in mono fine.

Mono



Stereo



Thanks, Lee

18 Replies

Replies have been turned off for this discussion
  • As a connoisseur of fast lenses, I love me some bokeh. Although I've never used it in a Rift project. Anyways, here is a solution:

    1. Move the DOF component above the OVRCamera component as previously discussed
    2. You will also need to disable "Call In Prerender" on the OVRCameraController
    3. Apply changes to the prefab
  • Anonymous's avatar
    Anonymous
    Thanks folks! I will try this tonight..
  • Anonymous's avatar
    Anonymous
    That worked! Thanks, that's awesome!
  • drash's avatar
    drash
    Heroic Explorer
    Ahhh, finally, a clear answer! Very good to know that prefabs enforce script execution order. Thanks a lot for the info boone!
  • vajra3d's avatar
    vajra3d
    Honored Guest
    @boone188: Excellent... thanks so much for passing this on! Was having the same problem but with the global fog image effect and this totally solved it. ;)
  • "vajra3d" wrote:
    @boone188: Excellent... thanks so much for passing this on! Was having the same problem but with the global fog image effect and this totally solved it. ;)

    Glad this helped you. If you run into any more issues, please post them in this forum, and I (plus a bunch of other really helpful people) will try to help out.