vertex color attibutes doesnt export correctly with glb/gltf (4.1.0) #105278
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#105278
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 537.58
Blender Version
Broken: version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash:
40a5e739e270
Worked: (newest version of Blender that worked as expected)
Short description of error
Blender doesnt export correctly vertex colors attributes using glb/gltf format .
Exact steps for others to reproduce the error
Open an scene with a complex model with vertex paint colors , export as *.glb file .Open a fresh scene and to load the exported file .Boom the color attributes are gone.Also tested in another apps its the same .
I tried with 4.1.1 (4/11/24 ) and its the same situation , but with blender 4.0 gltf export works fine .
VertexColorGLTF.blend
Originally reported at: #120544
export_colors
is removed from the export properties. That said, enablingattribute
doesn't work either.@JulienDuroure hi, maybe you want to check this. :)
Guess
a4627b35cc
caused this.Hello,
Closing this ticket, as this works as designed.
We are now exporting VC only when used in the shader node groups, avoiding exporting COLOR_0 that should always be a multiplier of base color on glTF (that is not the case in Blender)
Others VC can be exported as custom attributes.
See upstream discussion and plan for 4.2 here:
https://github.com/KhronosGroup/glTF-Blender-IO/pull/2017#issuecomment-2049925138
https://github.com/KhronosGroup/glTF-Blender-IO/issues/2195
Thanks @JulienDuroure . So gltf team is planning to bring back "exporting vc without shader node group" in future (maybe in 4.2)?
I checked the changelog of gltf in release notes but didn't find any info about "Export Vertex Color only when used in shader node tree". Maybe good to mention here: https://developer.blender.org/docs/release_notes/4.1/add_ons/#gltf-20 🙂