Proper way to convert gltf textures to ktx2 for use with bevy #11074
Unanswered
Severencir
asked this question in
Q&A
Replies: 1 comment
-
What is the structure of your If you plan to work more with Bevy and Blender in combination, I suggest to take a look at @sdfgeoff's Hope that helps :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i'm brand new to bevy and clearly doing something wrong, but i have been trying various things and looking up anything i can for days and can't for the life of me figure it out.
i have made a basic shape in blender, added some materials with textures, added a uv map, and exported to glb and gltf. i have tried various methods of attempting to convert it to ktx2 including gltf-transform, gltf-compressor, zencompress, and klafsa. the latter two wont work regardless of what i do, with zencompress just giving me a gltf with no compressed textures, and klafsa giving me errors with the filenames that i can't seem to figure out how to resolve. gltf-transform, and gltf-compressor both seem to work, and give files that show up in the sandbox.babylonjs and gltf-compressor, but both of these when i try to load into bevy give me an error in the following form:
ERROR bevy_asset::server: Failed to load asset 'MainBlockTest2.glb' with asset loader 'bevy_gltf::loader::GltfLoader': invalid glTF file: missing field `source` at line 1 column 1568
this is the code i have made for attempting to load the asset:
any help is appreciated
Beta Was this translation helpful? Give feedback.
All reactions