Tiling with .glTF
Hi,
we are currently optimizing download size and memory consumption of our models. We have multiple variations (colors, textures) for each model we download and load at runtime. We need to reuse textures as much as possible. We want to use .glTF, because .sfb does not provide file references to textures.
Tiling
Big memory optimization for us is tiling. Here #190 is described how to tile textures with .sfb.
glTF Documentation says something about scaling, but it seems to be not working. Our modelers use Blender with .glTF exporter 2.0.
- Can you give any advice how to tile with
.glTF?
We also designing some sort of "model config json" needed for iOS models where we use scale factor for tiling programmatically for given material, which iOS can access by the name.
- Is it possible to tile material textures programmatically?
As described #315, now is only index you can use to access material in sceneform. Would be really helpful for us to be able to use also material name to access and modify material programmatically.
Thanks for any advice!
Tiling should be working to our knowledge, if you have an asset which isn't working we can take a look.
I have same problem with this asset tiling test.zip
I have the same problem. How can i change the uv scaling for a texture on runtime? #825