Blender 4.1 gltf exporter not exporting Vertex Color Attributes with materials but works in blender 4.0 #123925

Closed
opened 2024-06-28 22:43:47 +02:00 by Sailor-S · 2 comments

So i tried taking a cube and only adding a vertex color on a single face, then applied a material to the whole cube then exported into a gltf file with vertex attributes selected
image
Then when i looked at the glb file using windows 3D viewer, it's shows no vertex colors
image

So i tried taking a cube and only adding a vertex color on a single face, then applied a material to the whole cube then exported into a gltf file with vertex attributes selected <img width="1514" alt="image" src="attachments/2d543bba-fefd-4202-96dc-e26a2779a37b"> Then when i looked at the glb file using windows 3D viewer, it's shows no vertex colors <img width="1355" alt="image" src="attachments/2a40080e-c3a0-4156-be5c-efec22493618">
658 KiB
568 KiB
Sailor-S added the
Type
Report
Severity
Normal
Status
Needs Triage
labels 2024-06-28 22:43:48 +02:00
Author

Here is the blender 4.1 file if you would like to try it out yourself

Here is the blender 4.1 file if you would like to try it out yourself
Member

In glTF, Vertex Color are multiplier of BaseColor.
Starting Blender 4.1, you can export VC only if you intentionally plugged it in the node tree.

If you are trying to export some custom data, I suggest you to create some custom attribute to export this data.

However, if you want to go against the glTF Specification and export VC without adding the node in material node tree (maybe because you don't care about the material and only want to get the VC data), an option was added in Blender 4.2 beta.
See https://github.com/KhronosGroup/glTF-Blender-IO/pull/2233 for details

Closing this ticket, as there is no bug here, and a workaround is available in 4.2 beta

In glTF, Vertex Color are multiplier of BaseColor. Starting Blender 4.1, you can export VC only if you intentionally plugged it in the node tree. If you are trying to export some custom data, I suggest you to create some custom attribute to export this data. However, if you want to go against the glTF Specification and export VC without adding the node in material node tree (maybe because you don't care about the material and only want to get the VC data), an option was added in Blender 4.2 beta. See https://github.com/KhronosGroup/glTF-Blender-IO/pull/2233 for details Closing this ticket, as there is no bug here, and a workaround is available in 4.2 beta
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2024-06-29 09:08:43 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#123925
No description provided.