Skip to main content
Up and Coming
September 21, 2013

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
    This topic has been closed for replies.

    18 replies

    Up and Coming
    October 18, 2013
    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
    October 19, 2013
    Thanks folks! I will try this tonight..
    October 19, 2013
    That worked! Thanks, that's awesome!
    Up and Coming
    October 19, 2013
    Glad to be of service!
    Inspiring
    October 21, 2013
    @boone188: Thanks so much for posting this. It really works!!!
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    Inspiring
    October 31, 2013
    Ahhh, finally, a clear answer! Very good to know that prefabs enforce script execution order. Thanks a lot for the info boone!
    Titans of Space PLUS for Quest is now available on DrashVR.com
    Up and Coming
    November 8, 2013
    @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. ;)
    Up and Coming
    November 8, 2013
    "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.