How to change gltf/PbrMetallicRoughness default Blend Mode to transparent ? #392
-
Any input on how to do this will be deeply appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Can you elaborate in what kind of workflow you'd want transparent to be default? I'm asking because:
Thanks for your input |
Beta Was this translation helpful? Give feedback.
-
glTF comes with out-of-the box support for:
That does not allow you to re-create materials like transparent glass, where light transmits, but there's still a specular reflection. To achieve this, you have to make use of the KHR_materials_transmission extension. It allows you to create glass-like materials (even tinted or frosted ones). The shader's blend mode will implicitly be set to Note: Depending on your render pipeline (settings), glTFast only offers partial support for transmission. See #111 as well. |
Beta Was this translation helpful? Give feedback.
glTF comes with out-of-the box support for:
Cutout
)Fade
)That does not allow you to re-create materials like transparent glass, where light transmits, but there's still a specular reflection.
To achieve this, you have to make use of the KHR_materials_transmission extension. It allows you to create glass-like materials (even tinted or frosted ones). The shader's blend mode will implicitly be set to
transparent
if you use this extension. Make sure your glTF generator has proper support for it.Note: Depending on your render pipeline (settings), glTFast only offers partial support for transmi…