Skip to content
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

RGB based material not exporting color - gltf/glb #2326

Closed
Raphlette opened this issue Aug 22, 2024 · 1 comment · Fixed by #2327
Closed

RGB based material not exporting color - gltf/glb #2326

Raphlette opened this issue Aug 22, 2024 · 1 comment · Fixed by #2327
Labels
bug Something isn't working

Comments

@Raphlette
Copy link

Describe the bug
When creating a material with only a RGB node (see image bellow), the baseColorFactor is not being exported anymore (working up until 4.2).

To Reproduce
Steps to reproduce the behavior:

  1. Add a material with only RGB node connected to the material output.
  2. Export object to gltf.

Expected behavior
The RGB color should be exported as baseColorFactor in the material.

Screenshots
Material
Gltf comparison

.blend file/ .gltf (mandatory)
test_4.2.zip

Version

  • OS: Windows 11
  • Blender Version: 4.2 ~~ forward
@julienduroure
Copy link
Collaborator

Confirmed the regression.
This case (auto conversion RGB to Shader socket) for unlit was forget in NodeNav

@julienduroure julienduroure added the bug Something isn't working label Aug 22, 2024
@julienduroure julienduroure added this to the Blender 4.2 LTS milestone Aug 22, 2024
julienduroure added a commit that referenced this issue Aug 30, 2024
Fix #2326 - RGB to Shader socket unlit management regression
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants