-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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: Use the vertex colors when available #21087
Comments
Can you post a sample project? |
I think they're saying they want "use as albedo" to be enabled automatically if the model has vertex color info. I personally wouldn't want that - at least, not for materials outside the model's own gltf file. It'd be very confusing for the material's properties to change depending on which models are using it. |
I'm not able to find a gltf2 spec description that allows this. https://github.com/KhronosGroup/glTF/tree/master/specification/2.0 Edited: So I'm asking for a valid gltf2 file. |
It feels like someone is calling me from the grave :-)
https://docs.blender.org/manual/en/latest/addons/import_export/scene_gltf2.html#geometry |
Try this #41007. |
I guess for 3.2.x this should be:
right? |
Looks good on a first glance. Haven't ported the vertex color patch over though. In the middle of something. |
I figured it out, someone renamed the SpatialMaterial 🤕 Added to my 3.2.x patch set :-) |
See #41007 (comment), this can be done on a per-project basis by setting the default import preset for glTF in the Import dock. |
I'm not sure which preset you're talking about, at least in the glTF / Scene preset in 3.2.x I couldn't find any related options. Anyway, thaks for the fish ... |
Reopening as per #41007 (comment) and further IRC discussion. |
Godot version:
tip de0fb07
Issue description:
After the import you have to change each material manually:
The text was updated successfully, but these errors were encountered: