Hello everyone, I'm trying to add new fences to my mod, fences that have slanted edges, so I can't add them via the standard model files. However, basically they already work but there is a problem with the texture.
As you can see in the attached image, the side part (not the post) of the left fence, which should have vanilla oak wood texture, is way too dark, compared to the standard vanilla oak wood fence on the right side.
I have crated the obj-model in Blender and have given it a material and the texture of the vanilla oak wood (and changed the image path later in the mtl-file to avoid adding extra textures to the mod). I have tried so many different setting of the material, texture and shading in Blender, but that doesn't seem to make any changes to the texture within the game, it always looks the same. It seens that the Forge obj-loader does ignore the Blender settings.
So how can I manage to have the correct texture? Is ist possible to remove the texture setting from the mtl-file and add it to the json file like with standard models? Or is there another way of different Blender settings?
mtl-file:
# Blender MTL File: 'x_oak_side.blend'
# Material Count: 1
newmtl m_side
map_Kd minecraft:block/oak_planks
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
Hello everyone, I'm trying to add new fences to my mod, fences that have slanted edges, so I can't add them via the standard model files. However, basically they already work but there is a problem with the texture.
As you can see in the attached image, the side part (not the post) of the left fence, which should have vanilla oak wood texture, is way too dark, compared to the standard vanilla oak wood fence on the right side.
I have crated the obj-model in Blender and have given it a material and the texture of the vanilla oak wood (and changed the image path later in the mtl-file to avoid adding extra textures to the mod). I have tried so many different setting of the material, texture and shading in Blender, but that doesn't seem to make any changes to the texture within the game, it always looks the same. It seens that the Forge obj-loader does ignore the Blender settings.
So how can I manage to have the correct texture? Is ist possible to remove the texture setting from the mtl-file and add it to the json file like with standard models? Or is there another way of different Blender settings?
mtl-file:
json-file in models/block directory:
Some game data:
Minecraft: 1.16.5
Forge: I have tried with 36.0.10 and 36.1.18
Blender 2.79, but I've also tried with a 2.9 version.