Forum Discussion
berndporr
3 years agoProtege
openXR uniform precision changed?
I'm developing a biofeedback app using openXR and openGL. That all worked very well under Linux / Android studio. Then to be able to record video I was forced to switch to Windows so installed the openXR SDK again which might be a slightly newer version. What has changed is the precision of the uniform here:
that's the time since the start of the app and that's transmitted as a float to the shader. I used that to create some gradual lighting changes as if clouds make it a bit brighter or darker. That worked well at the time of this commit under Linux.
Then for the filming I switched to Windows with idential code but perhaps the runtime shader compiler has changed in the meantime. It's not the sdk as the libopenxr_loader.so are identical.
bp1@bp1-Precision-WorkStation-T5400:~/sandbox$ diff ovr_openxr_mobile_sdk/OpenXR/Libs/Android/arm64-v8a/Release/libopenxr_loader.so /wind/ovr_openxr_mobile_sdk/OpenXR/Libs/Android/arm64-v8a/Release/libopenxr_loader.so
bp1@bp1-Precision-WorkStation-T5400:~/sandbox$
Either way now I have removed the temporal dependency and it all looks fine again. So it looks as if the precision of uniforms has changed or some other precision.
No RepliesBe the first to reply
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
- 4 years ago
- 1 month ago
- 7 months ago
- 1 year ago