Skip to main content
Participant
May 8, 2015

[0.5.0.1] Reflection from moving probe shakes, only in VR

A moving platform uses reflections from a box-projected probe (baked to file, but it doesn't matter).
The probe is attached to the moving platform as a child. The reflections are shaking, like lagging a frame behind sometimes - but only in Oculus view.

Maybe Unity is sending reflection data to meshes too early or too late, compared to Oculus rendering?
Do you know about this issue?

https://youtu.be/6Mr2vnG7i3A



Stable (VR off):
https://youtu.be/ydnkzoWl88g

    This topic has been closed for replies.

    12 replies

    Up and Coming
    May 8, 2015
    When are you rendering the probe? You probably want to make sure it happens after all physics and animation but before any main camera rendering is done. You video makes it look like the order is inconsistent.
    oswieradAuthor
    Participant
    May 11, 2015
    Probably you're right. I don't do anything custom, though. It's a normal Unity probe - baked to a file, not refreshing in realtime. Could it be an Unity<->Oculus problem?
    Up and Coming
    May 13, 2015
    I have the exact same problem. Reflection probe shakes in VR, normal on screen. I only refresh the reflection probes via script. Any ideas?
    BLACKISH (Games) | GameAssets.net (Assets)
    Up and Coming
    May 18, 2015
    This only happens with box-projecting reflection probes.
    BLACKISH (Games) | GameAssets.net (Assets)
    oswieradAuthor
    Participant
    May 20, 2015
    Probably because non-box-projected probes are independent of location (infinitely far).

    For me, it seems like the Oculus integration is made for Unity 4, not aware of rendering pipeline changes introduced in Unity 5. It's just a guess.
    From the documentation od 0.5.0.1: "The Oculus Unity Integration is compatible with Unity Pro 4.6.3,"
    Up and Coming
    May 20, 2015
    I don't care why. Just FIX it! ;)
    BLACKISH (Games) | GameAssets.net (Assets)
    Up and Coming
    May 22, 2015
    Right but when are you doing it via script? The timing matters. Late update vs update vs fixedupdate vs onprerender etc.
    Up and Coming
    May 22, 2015
    It's a child of the transform and moves with it. I tried moving the transform in Update/LateUpdate/etc. - didn't seem to make a difference. (Works perfectly in non-VR, just to mention that once more...)
    BLACKISH (Games) | GameAssets.net (Assets)
    oswieradAuthor
    Participant
    May 25, 2015
    You don't even have to udpate probes via script. They can be baked and saved on hard drive.
    Just attach a probe (as a child) to a moving object, then let the object use the probe (it will happen automatically if probe dimensions are right).
    Up and Coming
    May 25, 2015
    yes, but then they won't update when the light-setting changes from day to night...
    BLACKISH (Games) | GameAssets.net (Assets)