Hi
Two questions:
-
Since
TextureAtlas.makeAtlasBatch(...)
returns a singleGeometry
rather thanNode
, am I to understand that is uses GeometryBatch mechanism under the hood in order to merge all the geometries into one? -
How do I evaluate the
atlasSize
parameter to pass toTextureAtlas.makeAtlasBatch(...)
? I have a scene with multiple geometries, each of them loaded from.obj
+.mtl
files that use some.png
files as textures (for DiffuseMap only).
If I calculate total number of pixels in all the.png
files and multiply by 4 (bytes per pixel) - would that be good value foratlasSize
?
Do I have to take mip-maps into account, if I generate them on the fly withTextureKey
when loading images with asset manager?
I’ll be grateful for any information on the topic
Regards, Elg’