question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AlphaMode / alphaCutoff information is lost when re-exporting Project Polly in Blender 2.90

See original GitHub issue

Describe 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:

  1. Download the following file. https://github.com/KhronosGroup/glTF-Blender-Exporter/blob/master/polly/project_polly.blend (Probably created in Blender 2.79)
  2. run Blender 2.90
  3. Open project_polly.blend
  4. Export to project_polly.gltf Format : [gltF Separate (.gltf + .bin + textures)] [x] Cameras
  5. Check the contents of project_polly.gltf. alphaMode / alphaCutoff is not output.
Material name glTF JSON
Location Transparent image
Polly Display image

Expected behavior

Material name glTF JSON
Location Transparent image
Polly Display image

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
image image

.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:open
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
emackeycommented, Nov 30, 2020

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.

1reaction
donmccurdycommented, Nov 28, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found