-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GLTF: different rendering when loaded from GLB vs. GLTF/ascii #1396
Comments
GLTF: GLB: I don't know which is "more correct". |
It could also be an issue with whatever you did to get the GLTF file to run. I couldn't because it said that Jpegs aren't supported by Bevy. If you converted the textures to a different format, it could have had some affect on the color. It would be good if you explained what you did and uploaded some code. |
Nevermind, I see that it is a feature flag that I hadn't enabled. |
Ok, got both versions to work and got your problem with the coral model. Since the same setup works still with my Suzanne files, it must just be the textures differ in the coral files, since it can't be lighting since Bevy doesn't support lights from GLTF/GLB files. |
I have tested this using several models from the glTF sample models repo, for example WaterBottle.
The same model is available in multiple versions, specifically, an ASCII GLTF file with the textures as external PNG files, and a binary GLB file with everything integrated.
Both of them load and render, but the rendering looks visually different between the two:
From GLTF:
From GLB:
The text was updated successfully, but these errors were encountered: