JannisX11 / blockbench

Blockbench - A low poly 3D model editor
https://www.blockbench.net
GNU General Public License v3.0
3.29k stars 286 forks source link

Exported models with transparent textures are always opaque when imported elsewhere #2234

Closed ZedDevStuff closed 6 months ago

ZedDevStuff commented 6 months ago

What are you trying to do, and what do you expect to happen?

Exporting a simple cube with a semi transparent texture as gltf, fbx or obj then importing that in Unity or Blender should have the model render correctly image

What happens instead?

The model material in the target software is opaque image image

Model format in which the issue occurs

.obj, .fbx, .gltf and .glb, .dae

Blockbench variant

Program

Blockbench version

4.9.4

Operating System

Windows 11

Installed Blockbench plugins

GeckoLib Animation Utils, Shape Generator, Brush Plus, WASD Controls, Optimize, VoxelShape Generators, Figura Model Format

JannisX11 commented 6 months ago

This is not an issue with Blockbench. Translucency requires additional setup in most other 3D application. The alpha channel is saved to the texture, but reading transparency values between 0 and 1 directly from the alpha channel is not something that most 3D applications or formats support.