Moo-Ack-Productions / MCprep

Blender python addon to increase workflow for creating minecraft renders and animations
https://theduckcow.com/MCprep
GNU General Public License v3.0
285 stars 24 forks source link

All textures turn solid white after prepping materials and exporting #640

Closed Terimiyo closed 2 hours ago

Terimiyo commented 2 hours ago

Did the issue happen after restarting Blender?

Check known issues

What happened?

Hello, I've tried to import a part of my old Minecraft world into Blender with the use of jMc2Obj and MCprep. All went well until I prepped the materials with MCprep and exported it. I am sure it's a problem with MCprep as fresh import from jMc2Obj shows in Blender correctly textured even after exporting and importing it again. FreshImport

The problem only happens when I hit prep materials and export. I tried exporting as .obj and .fbx, joining meshes and leaving them separate, but nothing helped. ExportedImport

Exporting as .obj does create an .mtl file which should store all the required materials, and the materials are there in blender too, they just turn white for some reason. MaterialList

Using Blender 4.2.3 and MCprep 3.6.1.2 btw

What steps are needed to produce the bug?

  1. Export .obj file of your world in jMc2Obj
  2. Import it inside Blender
  3. Prep materials using MCprep
  4. Export as .obj or .fbx
  5. Import your exported file back into Blender

What version of MCprep are you using?

MCprep 3.6.1.2

What version of Blender are you using?

Blender 4.2.3

StandingPadAnimations commented 2 hours ago

Did you enable Material exports when exporting from Blender? If so, it might be related to how Blender exports materials in general for OBJ (OBJ is limited when it comes to materials, so Blender can't export everything) image

I'll close this issue since this isn't an MCprep-side issue (OBJ exporting is handled by Blender, not MCprep), but you'll still be able to comment.