Skip to content

Bug fix: Translation of semi transmissive standard surface materials to gltf_pbr#2912

Open
bowald wants to merge 2 commits into
AcademySoftwareFoundation:mainfrom
bowald:gltf-stdsurf-color-mix
Open

Bug fix: Translation of semi transmissive standard surface materials to gltf_pbr#2912
bowald wants to merge 2 commits into
AcademySoftwareFoundation:mainfrom
bowald:gltf-stdsurf-color-mix

Conversation

@bowald
Copy link
Copy Markdown
Contributor

@bowald bowald commented May 11, 2026

This PR address translation of semi transmissive standard surface materials to gltf_pbr.
It closes #2898.

A mix node has been added taking the transmission weight into account. The weight have been square as it better matches the final result.

The translation is not perfect, the base color will be more influence by either transmission color (if transmission_depth=0) or white in when transmission weight approaches 1. It would be nice if its more correct, and I would love some input from anyone with more knowledge about standard surface and gltf_pbr how to mix it to get a better result.

For anyone reconstructing this issue, note that attenuation color in gltf_pbr is not implemented, so use white translation color/attenuation color when comparing the materials.

Here are the result with the updates to the translation graph

Reference

standard_surface

Translation

gltf_pbr

Diff

diff

@bowald bowald changed the title fix translation semi transparent materials fix translation of semi transmissive standard surface materials to gltf_pbr May 11, 2026
@bowald bowald changed the title fix translation of semi transmissive standard surface materials to gltf_pbr Bug fix: Translation of semi transmissive standard surface materials to gltf_pbr May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect glTF translation of semi-transparent Standard Surface materials with partial transmission values

1 participant