安装了optifine
修改的工业2模组的模型
首先上图
1.
此图是开了平滑光照100% 可以看到在地面上的火力发电机顶部没问题,在地面的火力发电机顶部是黑色的,如果多个放在一起就会像右边的3X3的那样有黑色晕影。但是下面的是末影接口的方块模型,他的顶部就没有任何问题。都是缩进0.25
2.
这就是我想问的,为何开启平滑光照就会变黑,但是其他模组的方块就不受影响。附上代码。
剔除面写于不写都一样,之前有写过也不管用,shade也写过也没用。为了省事,主要是测试都去掉了。
还有,请不要说删除optifine或者开光影,我想做的是任何玩家都可以使用的模型。
- {
- "__comment": "Designed by Peakxing with BDcraft Cubik PRO 0.96 Beta - http://bdcraft.net",
- "ambientocclusion": false,
- "parent": "block/cube",
- "textures": {
- "particle": "ic2:blocks/generator/electric/generator_leftrightback",
- "generator_bottom": "ic2:blocks/generator/electric/generator_bottom",
- "generator_front": "ic2:blocks/generator/electric/generator_front",
- "generator_leftrightback": "ic2:blocks/generator/electric/generator_leftrightback",
- "generator_top": "ic2:blocks/generator/electric/generator_top"
- },
- "elements": [
- {
- "from": [ 0, 15, 0 ],
- "to": [ 16, 16, 1 ],
- "faces": {
- "down": { "uv": [ 16, 1, 0, 0 ], "texture": "#generator_bottom" },
- "up": { "uv": [ 0, 0, 16, 1 ], "texture": "#generator_bottom" },
- "north": { "uv": [ 0, 0, 16, 1 ], "texture": "#generator_bottom" },
- "south": { "uv": [ 0, 0, 16, 1 ], "texture": "#generator_bottom" },
- "west": { "uv": [ 0, 0, 1, 1 ], "texture": "#generator_bottom" },
- "east": { "uv": [ 15, 0, 16, 1 ], "texture": "#generator_bottom" }
- }
- },
- {
- "from": [ 0, 0, 0 ],
- "to": [ 16, 1, 1 ],
- "faces": {
- "down": { "uv": [ 16, 1, 0, 0 ], "texture": "#generator_bottom" },
- "up": { "uv": [ 0, 0, 16, 1 ], "texture": "#generator_bottom" },
- "north": { "uv": [ 0, 15, 16, 16 ], "texture": "#generator_bottom" },
- "south": { "uv": [ 0, 15, 16, 16 ], "texture": "#generator_bottom" },
- "west": { "uv": [ 0, 15, 1, 16 ], "texture": "#generator_bottom" },
- "east": { "uv": [ 15, 15, 16, 16 ], "texture": "#generator_bottom" }
- }
- },
- {
- "from": [ 0, 0, 15 ],
- "to": [ 16, 1, 16 ],
- "faces": {
- "down": { "uv": [ 16, 16, 0, 15 ], "texture": "#generator_bottom" },
- "up": { "uv": [ 0, 15, 16, 16 ], "texture": "#generator_bottom" },
- "north": { "uv": [ 0, 15, 16, 16 ], "texture": "#generator_bottom" },
- "south": { "uv": [ 0, 15, 16, 16 ], "texture": "#generator_bottom" },
- "west": { "uv": [ 15, 15, 16, 16 ], "texture": "#generator_bottom" },
- "east": { "uv": [ 0, 15, 1, 16 ], "texture": "#generator_bottom" }
- }
- },
- {
- "from": [ 0, 15, 15 ],
- "to": [ 16, 16, 16 ],
- "faces": {
- "down": { "uv": [ 16, 16, 0, 15 ], "texture": "#generator_bottom" },
- "up": { "uv": [ 0, 15, 16, 16 ], "texture": "#generator_bottom" },
- "north": { "uv": [ 0, 0, 16, 1 ], "texture": "#generator_bottom" },
- "south": { "uv": [ 0, 0, 16, 1 ], "texture": "#generator_bottom" },
- "west": { "uv": [ 15, 0, 16, 1 ], "texture": "#generator_bottom" },
- "east": { "uv": [ 0, 0, 1, 1 ], "texture": "#generator_bottom" }
- }
- },
- {
- "from": [ 0, 15, 1 ],
- "to": [ 1, 16, 15 ],
- "faces": {
- "down": { "uv": [ 16, 15, 15, 1 ], "texture": "#generator_bottom" },
- "up": { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" },
- "north": { "uv": [ 15, 0, 16, 1 ], "texture": "#generator_bottom" },
- "south": { "uv": [ 0, 0, 1, 1 ], "texture": "#generator_bottom" },
- "west": { "uv": [ 1, 0, 15, 1 ], "texture": "#generator_bottom" },
- "east": { "uv": [ 1, 0, 15, 1 ], "texture": "#generator_bottom" }
- }
- },
- {
- "from": [ 0, 0, 1 ],
- "to": [ 1, 1, 15 ],
- "faces": {
- "down": { "uv": [ 16, 15, 15, 1 ], "texture": "#generator_bottom" },
- "up": { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" },
- "north": { "uv": [ 15, 15, 16, 16 ], "texture": "#generator_bottom" },
- "south": { "uv": [ 0, 15, 1, 16 ], "texture": "#generator_bottom" },
- "west": { "uv": [ 1, 15, 15, 16 ], "texture": "#generator_bottom" },
- "east": { "uv": [ 1, 15, 15, 16 ], "texture": "#generator_bottom" }
- }
- },
- {
- "from": [ 15, 15, 1 ],
- "to": [ 16, 16, 15 ],
- "faces": {
- "down": { "uv": [ 1, 15, 0, 1 ], "texture": "#generator_bottom" },
- "up": { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" },
- "north": { "uv": [ 0, 0, 1, 1 ], "texture": "#generator_bottom" },
- "south": { "uv": [ 15, 0, 16, 1 ], "texture": "#generator_bottom" },
- "west": { "uv": [ 1, 0, 15, 1 ], "texture": "#generator_bottom" },
- "east": { "uv": [ 1, 0, 15, 1 ], "texture": "#generator_bottom" }
- }
- },
- {
- "from": [ 15, 0, 1 ],
- "to": [ 16, 1, 15 ],
- "faces": {
- "down": { "uv": [ 1, 15, 0, 1 ], "texture": "#generator_bottom" },
- "up": { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" },
- "north": { "uv": [ 0, 15, 1, 16 ], "texture": "#generator_bottom" },
- "south": { "uv": [ 15, 15, 16, 16 ], "texture": "#generator_bottom" },
- "west": { "uv": [ 1, 15, 15, 16 ], "texture": "#generator_bottom" },
- "east": { "uv": [ 1, 15, 15, 16 ], "texture": "#generator_bottom" }
- }
- },
- {
- "from": [ 0, 1, 0 ],
- "to": [ 1, 15, 1 ],
- "faces": {
- "down": { "uv": [ 16, 1, 15, 0 ], "texture": "#generator_bottom" },
- "up": { "uv": [ 0, 0, 1, 1 ], "texture": "#generator_bottom" },
- "north": { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" },
- "south": { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" },
- "west": { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" },
- "east": { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" }
- }
- },
- {
- "from": [ 15, 1, 0 ],
- "to": [ 16, 15, 1 ],
- "faces": {
- "down": { "uv": [ 1, 1, 0, 0 ], "texture": "#generator_bottom" },
- "up": { "uv": [ 15, 0, 16, 1 ], "texture": "#generator_bottom" },
- "north": { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" },
- "south": { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" },
- "west": { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" },
- "east": { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" }
- }
- },
- {
- "from": [ 15, 1, 15 ],
- "to": [ 16, 15, 16 ],
- "faces": {
- "down": { "uv": [ 1, 16, 0, 15 ], "texture": "#generator_bottom" },
- "up": { "uv": [ 15, 15, 16, 16 ], "texture": "#generator_bottom" },
- "north": { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" },
- "south": { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" },
- "west": { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" },
- "east": { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" }
- }
- },
- {
- "from": [ 0, 1, 15 ],
- "to": [ 1, 15, 16 ],
- "faces": {
- "down": { "uv": [ 16, 16, 15, 15 ], "texture": "#generator_bottom" },
- "up": { "uv": [ 0, 15, 1, 16 ], "texture": "#generator_bottom" },
- "north": { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" },
- "south": { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" },
- "west": { "uv": [ 15, 1, 16, 15 ], "texture": "#generator_bottom" },
- "east": { "uv": [ 0, 1, 1, 15 ], "texture": "#generator_bottom" }
- }
- },
- {
- "from": [ 0.25, 0.25, 0.25 ],
- "to": [ 15.75, 15.75, 15.75 ],
- "faces": {
- "down": { "uv": [ 15.75, 15.75, 0.25, 0.25 ], "texture": "#generator_bottom" },
- "up": { "uv": [ 0.25, 0.25, 15.75, 15.75 ], "texture": "#generator_top" },
- "north": { "uv": [ 0.25, 0.25, 15.75, 15.75 ], "texture": "#generator_front" },
- "south": { "uv": [ 0.25, 0.25, 15.75, 15.75 ], "texture": "#generator_leftrightback" },
- "west": { "uv": [ 0.25, 0.25, 15.75, 15.75 ], "texture": "#generator_leftrightback" },
- "east": { "uv": [ 0.25, 0.25, 15.75, 15.75 ], "texture": "#generator_leftrightback" }
- }
- }
- ]
- }