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

"Ambient Occlusion" color node is not exported when slotted into Base Color #2434

Open
hybridherbst opened this issue Dec 8, 2024 · 2 comments · May be fixed by #2437
Open

"Ambient Occlusion" color node is not exported when slotted into Base Color #2434

hybridherbst opened this issue Dec 8, 2024 · 2 comments · May be fixed by #2437
Labels
enhancement New feature or request

Comments

@hybridherbst
Copy link

Describe the bug
I've now seen a number of files that use a graph like this:
image

Usually this is used instead of a regular color field, but has the same effect – just in the viewport it causes somewhat more contrast because it introduces ambient occlusion.

I think all instances of this node can be exported as if they were regular RGB nodes.

To Reproduce
Steps to reproduce the behavior:

  1. Download attached file :
    BlenderBaseColorAOBug.blend.zip
  2. Export as glb
  3. Note that the "RGB" node is properly exported but the "Ambient Occlusion" node is not

Expected behavior
Ambient Occlusion node exports as if it were an RGB node

Screenshots
see above

.blend file/ .gltf (mandatory)
BlenderBaseColorAOBug.blend.zip

Version

  • OS: MacOS and Windows
  • Blender Version 4.2 and 4.3
@julienduroure
Copy link
Collaborator

julienduroure commented Dec 9, 2024

Confirmed that we are not (yet) managing this node.
Settings as enhancement.

Note: The AO socket of this node can probably not be used by glTF exporter, as this need to be baked first to a texture.

@julienduroure julienduroure added the enhancement New feature or request label Dec 9, 2024
@hybridherbst
Copy link
Author

Thanks, I agree on the AO socket – I think the node should be treated as if it was an RGB node (just the color used).

@julienduroure julienduroure linked a pull request Dec 10, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants