AlphaMode / alphaCutoff information is lost when re-exporting Project Polly in Blender 2.90
See original GitHub issueDescribe the bug
I have tried loading the Project Polly model in Blender 2.90
and outputting it in glTF format.
However, some information seems to be missing. For example, the alphaMode
/ alphaCutoff
.
To Reproduce Steps to reproduce the behavior:
- Download the following file.
https://github.com/KhronosGroup/glTF-Blender-Exporter/blob/master/polly/project_polly.blend
(Probably created in Blender
2.79
) - run Blender
2.90
- Open
project_polly.blend
- Export to
project_polly.gltf
Format : [gltF Separate (.gltf + .bin + textures)] [x] Cameras - Check the contents of
project_polly.gltf
.alphaMode
/alphaCutoff
is not output.
Material name | glTF JSON |
---|---|
Location Transparent | |
Polly Display |
Expected behavior
Material name | glTF JSON |
---|---|
Location Transparent | |
Polly Display |
The output results are expected to be similar to the glTF file below. https://github.com/KhronosGroup/glTF-Blender-Exporter/blob/master/polly/project_polly.gltf
Screenshots
Blender 2.79 glTF Export results | Blender 2.90 glTF Export results |
---|---|
.blend file/ .gltf https://github.com/KhronosGroup/glTF-Blender-Exporter/blob/master/polly/project_polly.blend
Version
- OS: Windows 10 Version 1909
- Blender Version 2.90.1
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
⚓ T81390 Blender 2.91.0 Alpha - Blender cannot export ...
The bug was that the alpha of rendered image in the image editor was off from the 3d viewport, The 3d viewport was...
Read more >Blender 2.90 Low Poly Cannon Modeling - YouTube
Hello, guys, I hope you are doing well and in this video, I'm going to show you how you can do low poly...
Read more >Blender how to Reduce Poly Count and Bake Textures
We will go through the process of reducing the poly count on a 3d scan or a high poly mesh, down to an...
Read more >Blender 2.90 New Features in LESS than 5 minutes - YouTube
... development going: https://fund. blender.orgLearn everything about Blender 2.90 at https://www. blender.org/download/releases/2-90/==Video...
Read more >How to model a low poly sword in Blender 2.90 - YouTube
In this tutorial we walk you though the process of modelling a low poly sword using Blender 2.90 Along the way you will...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Not to make things more complicated, but Polly has always abused alpha blending to look like glass, which was never the intention of alpha in glTF. Alpha is supposed to indicate the absence of a material, such as the edge of a leaf in a quad, or medical gauze wrap with lots of holes too small to see.
For glass, we recently ratified a new extension,
KHR_materials_transmission
. Among other things, this allows full specular reflections to take place on the clear parts of the glass (which alpha blending does not do). It also allows for frosted glass (via material roughness), and lets path tracers know they can trace reflections in the glass.Blender support for this is documented in 2.91.
Sounds like we should update the source
.blend
sample file to be compatible with 2.90? At least for the material settings portion of the question.