FBX exports transparent, unwanted alpha texture and normal map #80436

Closed
opened 2020-09-03 17:20:35 +02:00 by Fupi · 4 comments

System Information
Operating system: Linux-5.4.0-45-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: Mesa DRI Intel(R) HD Graphics 4400 (HSW GT2) Intel Open Source Technology Center 4.5 (Core Profile) Mesa 20.0.8

Blender Version
Broken: version: 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash: blender/blender@0330d1af29
Worked: None. Tried 2.83, 2.8 and 2.79. 2.79 results in a black diffuse material instead.

Addon Information
Name: FBX format (4, 21, 3)
Author: Campbell Barton, Bastien Montagne, Jens Restemeier

Short description of error
When exported, unwanted alpha texture and empty normal map node get added, which results in a translucent material.

Exact steps for others to reproduce the error

  1. Add a cube, give it a material with a “base color” texture:
    image.png
  2. Export as FBX. All my settings are default, except for the Path Mode, which is set to “Copy” and Embed Textures is turned on. I tried not doing that but nothing changed.
    image.png
  3. Create a new Blender file, import FBX, switch to Cycles, the model is translucent. The imported model has an empty normal map, and the color texture is now also added as an alpha texture, which I did not do.
    image.png

Here is a comparison between the Blender model (left) and the imported FBX (right):
image.png

Drive folder with a minimal reproduction Blender file with comparison between Blender model, FBX and OBJ, and also the export files produced on my machine: https://drive.google.com/drive/folders/15dB-iESKis41PlqnJgupWVG9ShtxEqIp?usp=sharing

What I tried
This has been happening for 4 days now. I exported FBXs with Blender 2.83 without any issues and this started happening out of nowhere. I thought it had to do with my configuration, even though I tried with a clean installation of Blender (downloaded tar file through the website) and the problem persisted.

Edit1: Just tried adding a white texture to the Alpha, but when exported it replaced the Alpha texture with the same image as the Base Color texture.

I tried Stack Exchange: https://blender.stackexchange.com/questions/193063/why-is-my-fbx-export-translucent

I tried Reddit: https://www.reddit.com/r/blenderhelp/comments/ikl135/why_is_my_fbx_export_translucent/

Never got a response. If this is not the place to post this, I'm sorry, this was my last resort. I have no idea what's going on.

**System Information** Operating system: Linux-5.4.0-45-generic-x86_64-with-debian-bullseye-sid 64 Bits Graphics card: Mesa DRI Intel(R) HD Graphics 4400 (HSW GT2) Intel Open Source Technology Center 4.5 (Core Profile) Mesa 20.0.8 **Blender Version** Broken: version: 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash: `blender/blender@0330d1af29` Worked: None. Tried 2.83, 2.8 and 2.79. 2.79 results in a black diffuse material instead. **Addon Information** Name: FBX format (4, 21, 3) Author: Campbell Barton, Bastien Montagne, Jens Restemeier **Short description of error** When exported, unwanted alpha texture and empty normal map node get added, which results in a translucent material. **Exact steps for others to reproduce the error** 1) Add a cube, give it a material with a “base color” texture: ![image.png](https://archive.blender.org/developer/F8836484/image.png) 2) Export as FBX. All my settings are default, except for the Path Mode, which is set to “Copy” and Embed Textures is turned on. I tried not doing that but nothing changed. ![image.png](https://archive.blender.org/developer/F8836486/image.png) 3) Create a new Blender file, import FBX, switch to Cycles, the model is translucent. The imported model has an empty normal map, and the color texture is now also added as an alpha texture, which I did not do. ![image.png](https://archive.blender.org/developer/F8836490/image.png) Here is a comparison between the Blender model (left) and the imported FBX (right): ![image.png](https://archive.blender.org/developer/F8836498/image.png) Drive folder with a minimal reproduction Blender file with comparison between Blender model, FBX and OBJ, and also the export files produced on my machine: https://drive.google.com/drive/folders/15dB-iESKis41PlqnJgupWVG9ShtxEqIp?usp=sharing **What I tried** This has been happening for 4 days now. I exported FBXs with Blender 2.83 without any issues and this started happening out of nowhere. I thought it had to do with my configuration, even though I tried with a clean installation of Blender (downloaded tar file through the website) and the problem persisted. Edit1: Just tried adding a white texture to the Alpha, but when exported it replaced the Alpha texture with the same image as the Base Color texture. I tried Stack Exchange: https://blender.stackexchange.com/questions/193063/why-is-my-fbx-export-translucent I tried Reddit: https://www.reddit.com/r/blenderhelp/comments/ikl135/why_is_my_fbx_export_translucent/ Never got a response. If this is not the place to post this, I'm sorry, this was my last resort. I have no idea what's going on.
Author

Added subscriber: @fupi

Added subscriber: @fupi
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Philipp Oeser self-assigned this 2020-10-29 12:48:36 +01:00
Member

Sorry this has been lying around for so long.
Can confirm the behavior in a 2.90 [it was not strictly a bug since sometimes the color is meant to be used as an alpha].

This changed though in blender/blender@0696eaa3e8, so now the images Alpha socket will be used (instead of the Color).
Dont think the fact that a NormalMap node gets added is not a bug (this does not alter shading).

New behavior will be in 2.91, so please try a fresh build from https://builder.blender.org/download/

So I think this is resolved (feel free to comment again though if isses persist in a fresh build)

Sorry this has been lying around for so long. Can confirm the behavior in a 2.90 [it was not strictly a bug since sometimes the color is meant to be used as an alpha]. This changed though in blender/blender@0696eaa3e8, so now the images `Alpha` socket will be used (instead of the `Color`). Dont think the fact that a NormalMap node gets added is not a bug (this does not alter shading). New behavior will be in 2.91, so please try a fresh build from https://builder.blender.org/download/ So I think this is resolved (feel free to comment again though if isses persist in a fresh build)
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#80436
No description provided.