Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Vertex Color Import Swapper

An asset by Invertex
The page banner background of a mountain and forest
Vertex Color Import Swapper thumbnail image
Vertex Color Import Swapper thumbnail image
Vertex Color Import Swapper thumbnail image
Vertex Color Import Swapper hero image

Quick Information

0 ratings
Vertex Color Import Swapper icon image
Invertex
Vertex Color Import Swapper

Allows importing to automatically move vertex color data from a different file attribute into the primary vertex color attribute.Useful primarily to get around the recent Blender 4.1 change that no longer exports vertex color properly.Can grab the color from other named attributes, including UV channels, normals, etc...Visit the repository for a full explanation of capabilities.

Supported Engine Version
4.2
Version String
1.2
License Version
MIT
Support Level
community
Modified Date
1 month ago
Git URL
Issue URL

Vertex Color Import Swapper - addon for Godot 4

Allows importing to automatically move vertex color data from a different file attribute into the primary vertex color attribute.

Currently only handles GLTF files

Will automatically handle the proposed Blender GLTF export change of storing vertex color in the second channel (if that proposal goes through).**

Adds options to also define yourself where you want the primary vertex color data to be sourced from in the file:

README

The first option defines what "extras" attribute to look for a vertex-color attribute name in.

Example in Blender:

README

gltf_color_0 in the "Custom Properties" section defines an Attributes name, in this case _OUTLINECOLOR, and as you can see, I have such a named attribute in the "Attributes" section of my Object. That is the attribute the importer will look for. This allows you to use different attribute names in different objects and have this importer still handle it, instead of only being able to read one defined name in the Godot settings.

If gltf_color_0 is not found, then it will default to looking for an Attribute with the name you define in the second option of this addon's settings. _COLOR_0 in my example (default setting).

And if it finds neither of those, it will then see if there's already a secondary Vertex color channel in the asset, and will move it to the the First Vertex Channel for use in your shaders.

Exporting "extras" from Blender

To make sure "extras" are exported for your objects in Blender, you need to make sure this Export setting is checked:

README

Allows importing to automatically move vertex color data from a different file attribute into the primary vertex color attribute.

Useful primarily to get around the recent Blender 4.1 change that no longer exports vertex color properly.

Can grab the color from other named attributes, including UV channels, normals, etc...

Visit the repository for a full explanation of capabilities.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Vertex Color Import Swapper icon image
Invertex
Vertex Color Import Swapper

Allows importing to automatically move vertex color data from a different file attribute into the primary vertex color attribute.Useful primarily to get around the recent Blender 4.1 change that no longer exports vertex color properly.Can grab the color from other named attributes, including UV channels, normals, etc...Visit the repository for a full explanation of capabilities.

Supported Engine Version
4.2
Version String
1.2
License Version
MIT
Support Level
community
Modified Date
1 month ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers