Forum Discussion
oswierad
11 years agoHonored Guest
[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
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
12 Replies
Replies have been turned off for this discussion
- owenwpExpert ProtegeWhen 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.
- oswieradHonored GuestProbably 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?
- BLACKISHHonored GuestI have the exact same problem. Reflection probe shakes in VR, normal on screen. I only refresh the reflection probes via script. Any ideas?
- BLACKISHHonored GuestThis only happens with box-projecting reflection probes.
- oswieradHonored GuestProbably 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," - BLACKISHHonored GuestI don't care why. Just FIX it! ;)
- owenwpExpert ProtegeRight but when are you doing it via script? The timing matters. Late update vs update vs fixedupdate vs onprerender etc.
- BLACKISHHonored GuestIt'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...)
- oswieradHonored GuestYou 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). - BLACKISHHonored Guestyes, but then they won't update when the light-setting changes from day to night...
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
- 2 years ago
- 11 years ago
- 12 months ago
- 11 years ago