-
Notifications
You must be signed in to change notification settings - Fork 317
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
0 value Opacity not exported #2328
Comments
@julienduroure Thanks for your time! I checked again with a few other viewers and it looks like the issue manifested only inhttps://sandbox.babylonjs.com/ so the glb from blender 3.6 is loading fine but not the one from 4.2. |
Hello, The change between the 2 versions is the alphaMode used.
|
Hello, You can read the discussion here: #2111 |
It needs to be that setting alpha blend to 0.0 means the material is set to alpha blend in the GLB Currently, setting to Alpha Blend 0.0 or Hashed 0.0 sets the GLB exported material to be Alpha Clip |
The value for Opacity in the principled shader is not working in exported glb if the value is exactly 0.
If a full black texture is used then it's working.
This might affect other parameters too. But I could not check.
To reproduce just set the opacity to 0 in the shader and export a plane with that material.
Expected behavior
With blender 3.6.x setting Alpha=0 is working as expected on glb exports.
If applicable, add screenshots to help explain your problem.
Version
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: