Jump to content

Lofectr

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Lofectr

  1. I created obj (Model), mtl (Material), png (Texture) files in Blender. In blockstate I wrote it like this: { "forge_marker": 1, "defaults": { "custom": { "flip-v": true }, "model": "lg:lofectr_block.obj" }, "variants": { "normal": [{}], "inventory": [{}] } } lofectr_block.mtl: # Blender MTL File: 'lofectr_block.blend' # Material Count: 1 newmtl Material Ns 323.999994 Ka 1.000000 1.000000 1.000000 Kd 0.269303 0.800000 0.181362 Ks 0.500000 0.500000 0.500000 Ke 0.000000 0.000000 0.000000 Ni 1.450000 d 1.000000 illum 2 map_Kd lg:blocks/lofectr_block lofectr_block.obj: # Blender v2.82 (sub 7) OBJ File: 'lofectr_block.blend' # www.blender.org mtllib lofectr_block.mtl o Cube v 0.500000 0.287963 -0.290945 v 0.500000 -0.500000 -0.500000 v 0.181114 0.500000 0.500000 v 0.500000 -0.500000 0.500000 v -0.500000 0.770715 -0.500000 v -0.500000 -0.500000 -0.500000 v -0.500000 -0.082512 0.500000 v -0.500000 -0.500000 0.500000 vt 0.000000 0.635745 vt 0.320984 0.508432 vt 0.320984 1.000000 vt 0.081898 0.913466 vt 0.665274 0.913219 vt 0.770706 0.511047 vt 0.995901 0.745317 vt 0.995901 0.913219 vt 0.338745 0.511047 vt 0.338745 0.343145 vt 0.669373 0.000000 vt 0.669373 0.511047 vt 1.000000 0.402172 vt 0.669373 0.402172 vt 0.669373 0.000000 vt 1.000000 0.000000 vt 0.338745 0.937867 vt 0.394583 0.623254 vt 0.665274 0.511047 vt 0.665274 0.928530 vt 0.005405 0.508432 vt 0.000000 0.000000 vt 0.338745 0.184662 vt 0.333341 0.508432 vn -0.0958 0.9424 0.3204 vn 0.0000 0.0000 1.0000 vn -1.0000 0.0000 0.0000 vn 0.0000 -1.0000 0.0000 vn 0.9755 0.1558 0.1552 vn 0.1273 0.1002 -0.9868 usemtl Material s off f 1/1/1 5/2/1 7/3/1 3/4/1 f 4/5/2 3/6/2 7/7/2 8/8/2 f 8/9/3 7/10/3 5/11/3 6/12/3 f 6/13/4 2/14/4 4/15/4 8/16/4 f 2/17/5 1/18/5 3/19/5 4/20/5 f 6/21/6 5/22/6 1/23/6 2/24/6 lofectr_block.png: The problem is that the gray on the texture in the game turns to green! Help, what could be the problem? And how to fix it?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.