jmc2obj / j-mc-2-obj

Java-based Minecraft-to-OBJ exporter.
http://www.jmc2obj.net
352 stars 59 forks source link

MCprep Alpha not working #169

Closed Tiefseetauchner closed 2 years ago

Tiefseetauchner commented 2 years ago

Coming from https://github.com/TheDuckCow/MCprep/issues/246 It seems that MCprep messes up the Alpha when using v113 image This does not occur with 112, thus it seems to be a JMC2OBJ thing (as discussed in the issue above) Are there any ideas why this could be happening? Anyone else even had this issue or is it just me?

mmdanggg2 commented 2 years ago

The mtl file generated was fixed so that the texture alpha is correctly used when importing to blender. I'm pretty sure it's the same as it was in 112 though. Perhaps MCPrep doesn't like the textures being in folders? 112

newmtl redstone_torch_on
Kd 0.6719 0.3098 0.1727
Ks 0.0000 0.0000 0.0000
map_Kd tex/redstone_torch_on.png
map_d tex/redstone_torch_on.png

113

newmtl minecraft_block-redstone_torch
Kd 0.6719 0.3098 0.1727
Ks 0.0000 0.0000 0.0000
map_Kd tex/minecraft/block/redstone_torch.png
map_d tex/minecraft/block/redstone_torch.png
Tiefseetauchner commented 2 years ago

Hi! When using 112, it connects the Color Output to Alpha, not the Alpha Output, shown below image vs 113 image That might be the issue, as textures load fine, just the alpha breaks I'll reopen the issue in MCprep, as this seems to be a fix rather than something breaking

mmdanggg2 commented 2 years ago

I think this is fixed in MCprep now