游戏版本:1.10.2
安装了optifine
修改的工业2模组的模型
首先上图
1.
此图是开了平滑光照100% 可以看到在地面上的火力发电机顶部没问题,在地面的火力发电机顶部是黑色的,如果多个放在一起就会像右边的3X3的那样有黑色晕影。但是下面的是末影接口的方块模型,他的顶部就没有任何问题。都是缩进0.25

2. 这是关闭平滑光照0%的结果,可以看到 蓝色方块上面的火力发电机顶部已经跟左边地面上的一样了右边也一样。

这就是我想问的,为何开启平滑光照就会变黑,但是其他模组的方块就不受影响。附上代码。
剔除面写于不写都一样,之前有写过也不管用,shade也写过也没用。为了省事,主要是测试都去掉了。

还有,请不要说删除optifine或者开光影,我想做的是任何玩家都可以使用的模型。
  1. {
  2. "__comment": "Designed by Peakxing with BDcraft Cubik PRO 0.96 Beta - http://bdcraft.net",
  3. "ambientocclusion": false,
  4. "parent": "block/cube",
  5. "textures": {
  6.     "particle": "ic2:blocks/generator/electric/generator_leftrightback",
  7.     "generator_bottom": "ic2:blocks/generator/electric/generator_bottom",
  8.     "generator_front": "ic2:blocks/generator/electric/generator_front",
  9.     "generator_leftrightback": "ic2:blocks/generator/electric/generator_leftrightback",
  10.     "generator_top": "ic2:blocks/generator/electric/generator_top"
  11. },
  12. "elements": [
  13. {
  14.     "from": [ 0, 15, 0 ],
  15.     "to": [ 16, 16, 1 ],
  16.     "faces": {
  17.         "down":  { "uv": [ 16, 1, 0, 0 ], "texture": "#generator_bottom" },
  18.         "up":    { "uv": [ 0, 0, 16, 1 ], "texture": "#generator_bottom" },
  19.         "north": { "uv": [ 0, 0, 16, 1 ], "texture": "#generator_bottom" },
  20.         "south": { "uv": [ 0, 0, 16, 1 ], "texture": "#generator_bottom" },
  21.         "west":  { "uv": [ 0, 0, 1, 1 ], "texture": "#generator_bottom" },
  22.         "east":  { "uv": [ 15, 0, 16, 1 ], "texture": "#generator_bottom" }
  23.     }
  24. },
  25. {
  26.     "from": [ 0, 0, 0 ],
  27.     "to": [ 16, 1, 1 ],
  28.     "faces": {
  29.         "down":  { "uv": [ 16, 1, 0, 0 ], "texture": "#generator_bottom" },
  30.         "up":    { "uv": [ 0, 0, 16, 1 ], "texture": "#generator_bottom" },
  31.         "north": { "uv": [ 0, 15, 16, 16 ], "texture": "#generator_bottom" },
  32.         "south": { "uv": [ 0, 15, 16, 16 ], "texture": "#generator_bottom" },
  33.         "west":  { "uv": [ 0, 15, 1, 16 ], "texture": "#generator_bottom" },
  34.         "east":  { "uv": [ 15, 15, 16, 16 ], "texture": "#generator_bottom" }
  35.     }
  36. },
  37. {
  38.     "from": [ 0, 0, 15 ],
  39.     "to": [ 16, 1, 16 ],
  40.     "faces": {
  41.         "down":  { "uv": [ 16, 16, 0, 15 ], "texture": "#generator_bottom" },
  42.         "up":    { "uv": [ 0, 15, 16, 16 ], "texture": "#generator_bottom" },
  43.         "north": { "uv": [ 0, 15, 16, 16 ], "texture": "#generator_bottom" },
  44.         "south": { "uv": [ 0, 15, 16, 16 ], "texture": "#generator_bottom" },
  45.         "west":  { "uv": [ 15, 15, 16, 16 ], "texture": "#generator_bottom" },
  46.         "east":  { "uv": [ 0, 15, 1, 16 ], "texture": "#generator_bottom" }
  47.     }
  48. },
  49. {
  50.     "from": [ 0, 15, 15 ],
  51.     "to": [ 16, 16, 16 ],
  52.     "faces": {
  53.         "down":  { "uv": [ 16, 16, 0, 15 ], "texture": "#generator_bottom" },
  54.         "up":    { "uv": [ 0, 15, 16, 16 ], "texture": "#generator_bottom" },
  55.         "north": { "uv": [ 0, 0, 16, 1 ], "texture": "#generator_bottom" },
  56.         "south": { "uv": [ 0, 0, 16, 1 ], "texture": "#generator_bottom" },
  57.         "west":  { "uv": [ 15, 0, 16, 1 ], "texture": "#generator_bottom" },
  58.         "east":  { "uv": [ 0, 0, 1, 1 ], "texture": "#generator_bottom" }
  59.     }
  60. },
  61. {
  62.     "from": [ 0, 15, 1 ],
  63.     "to": [ 1, 16, 15 ],
  64.     "faces": {
  65.         "down":  { "uv": [ 16, 15, 15, 1 ], "texture": "#generator_bottom" },
  66.         "up":    { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" },
  67.         "north": { "uv": [ 15, 0, 16, 1 ], "texture": "#generator_bottom" },
  68.         "south": { "uv": [ 0, 0, 1, 1 ], "texture": "#generator_bottom" },
  69.         "west":  { "uv": [ 1, 0, 15, 1 ], "texture": "#generator_bottom" },
  70.         "east":  { "uv": [ 1, 0, 15, 1 ], "texture": "#generator_bottom" }
  71.     }
  72. },
  73. {
  74.     "from": [ 0, 0, 1 ],
  75.     "to": [ 1, 1, 15 ],
  76.     "faces": {
  77.         "down":  { "uv": [ 16, 15, 15, 1 ], "texture": "#generator_bottom" },
  78.         "up":    { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" },
  79.         "north": { "uv": [ 15, 15, 16, 16 ], "texture": "#generator_bottom" },
  80.         "south": { "uv": [ 0, 15, 1, 16 ], "texture": "#generator_bottom" },
  81.         "west":  { "uv": [ 1, 15, 15, 16 ], "texture": "#generator_bottom" },
  82.         "east":  { "uv": [ 1, 15, 15, 16 ], "texture": "#generator_bottom" }
  83.     }
  84. },
  85. {
  86.     "from": [ 15, 15, 1 ],
  87.     "to": [ 16, 16, 15 ],
  88.     "faces": {
  89.         "down":  { "uv": [ 1, 15, 0, 1 ], "texture": "#generator_bottom" },
  90.         "up":    { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" },
  91.         "north": { "uv": [ 0, 0, 1, 1 ], "texture": "#generator_bottom" },
  92.         "south": { "uv": [ 15, 0, 16, 1 ], "texture": "#generator_bottom" },
  93.         "west":  { "uv": [ 1, 0, 15, 1 ], "texture": "#generator_bottom" },
  94.         "east":  { "uv": [ 1, 0, 15, 1 ], "texture": "#generator_bottom" }
  95.     }
  96. },
  97. {
  98.     "from": [ 15, 0, 1 ],
  99.     "to": [ 16, 1, 15 ],
  100.     "faces": {
  101.         "down":  { "uv": [ 1, 15, 0, 1 ], "texture": "#generator_bottom" },
  102.         "up":    { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" },
  103.         "north": { "uv": [ 0, 15, 1, 16 ], "texture": "#generator_bottom" },
  104.         "south": { "uv": [ 15, 15, 16, 16 ], "texture": "#generator_bottom" },
  105.         "west":  { "uv": [ 1, 15, 15, 16 ], "texture": "#generator_bottom" },
  106.         "east":  { "uv": [ 1, 15, 15, 16 ], "texture": "#generator_bottom" }
  107.     }
  108. },
  109. {
  110.     "from": [ 0, 1, 0 ],
  111.     "to": [ 1, 15, 1 ],
  112.     "faces": {
  113.         "down":  { "uv": [ 16, 1, 15, 0 ], "texture": "#generator_bottom" },
  114.         "up":    { "uv": [ 0, 0, 1, 1 ], "texture": "#generator_bottom" },
  115.         "north": { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" },
  116.         "south": { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" },
  117.         "west":  { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" },
  118.         "east":  { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" }
  119.     }
  120. },
  121. {
  122.     "from": [ 15, 1, 0 ],
  123.     "to": [ 16, 15, 1 ],
  124.     "faces": {
  125.         "down":  { "uv": [ 1, 1, 0, 0 ], "texture": "#generator_bottom" },
  126.         "up":    { "uv": [ 15, 0, 16, 1 ], "texture": "#generator_bottom" },
  127.         "north": { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" },
  128.         "south": { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" },
  129.         "west":  { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" },
  130.         "east":  { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" }
  131.     }
  132. },
  133. {
  134.     "from": [ 15, 1, 15 ],
  135.     "to": [ 16, 15, 16 ],
  136.     "faces": {
  137.         "down":  { "uv": [ 1, 16, 0, 15 ], "texture": "#generator_bottom" },
  138.         "up":    { "uv": [ 15, 15, 16, 16 ], "texture": "#generator_bottom" },
  139.         "north": { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" },
  140.         "south": { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" },
  141.         "west":  { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" },
  142.         "east":  { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" }
  143.     }
  144. },
  145. {
  146.     "from": [ 0, 1, 15 ],
  147.     "to": [ 1, 15, 16 ],
  148.     "faces": {
  149.         "down":  { "uv": [ 16, 16, 15, 15 ], "texture": "#generator_bottom" },
  150.         "up":    { "uv": [ 0, 15, 1, 16 ], "texture": "#generator_bottom" },
  151.         "north": { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" },
  152.         "south": { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" },
  153.         "west":  { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" },
  154.         "east":  { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" }
  155.     }
  156. },
  157. {
  158.     "from": [ 0.25, 0.25, 0.25 ],
  159.     "to": [ 15.75, 15.75, 15.75 ],
  160.     "faces": {
  161.         "down":  { "uv": [ 15.75, 15.75, 0.25, 0.25 ], "texture": "#generator_bottom" },
  162.         "up":    { "uv": [ 0.25, 0.25, 15.75, 15.75 ], "texture": "#generator_top" },
  163.         "north": { "uv": [ 0.25, 0.25, 15.75, 15.75 ], "texture": "#generator_front" },
  164.         "south": { "uv": [ 0.25, 0.25, 15.75, 15.75 ], "texture": "#generator_leftrightback" },
  165.         "west":  { "uv": [ 0.25, 0.25, 15.75, 15.75 ], "texture": "#generator_leftrightback" },
  166.         "east":  { "uv": [ 0.25, 0.25, 15.75, 15.75 ], "texture": "#generator_leftrightback" }
  167.     }
  168. }
  169. ]
  170. }
复制代码