How to use .uberz file? #8102
-
Hi, as i understand, with uberz tool, i can build .uberz file that contain material used by gltfviewer. But gltfviewer only have -u flag that not accept any args. So how can i use .uberz for gltfviewer with prebuild binary? I have read this issue but cannot find any guide on how to use my own archived material: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Finally, I found that in the Android client, the Uber shader is packed inside the gltfio AAR file. Therefore, I need to recompile gltfio and the AAR file to modify the Uber shader as needed. The uberz tool works at build time to generate the .uberz file here, which is then used as a resource when compiling gltfio. Currently, there is no solution to load the .uberz file at runtime on Android. I hope that in the future, we can load the .uberz file at runtime and use a precompiled AAR package instead of manually recompiling it ourselves. |
Beta Was this translation helpful? Give feedback.
Finally, I found that in the Android client, the Uber shader is packed inside the gltfio AAR file. Therefore, I need to recompile gltfio and the AAR file to modify the Uber shader as needed.
The uberz tool works at build time to generate the .uberz file here, which is then used as a resource when compiling gltfio. Currently, there is no solution to load the .uberz file at runtime on Android.
I hope that in the future, we can load the .uberz file at runtime and use a precompiled AAR package instead of manually recompiling it ourselves.