Jump to content

[1.12.1] [Solved] Model is shading opposite side


Silly511

Recommended Posts

For some reason my JSON model is shading the opposite side that a block is placed on.

 

Without blocks behind it:

2017-09-20_16_27_53.thumb.png.2c2f650ed03e8edf2fa73d8aaeef718a.png

And this with blocks behind it:

2017-09-20_16_28_11.thumb.png.e956698931df0115ce51c1a49cb6ded9.png

Why is this happening? Is there something wrong with my model or is this a forge bug? Here's the JSON:

"textures": {
        "main": "#normal",
        "particle": "#normal"
    },
    "elements": [
        {
            "from": [0, 0, 0],
            "to": [8, 8, 8],
            "faces": {
                "north": {
                    "uv": [8, 8, 16, 16],
                    "cullface": "north",
                    "tintindex": 0,
                    "texture": "#main"
                },
                "west": {
                    "uv": [0, 8, 8, 16],
                    "cullface": "west",
                    "tintindex": 0,
                    "texture": "#main"
                },
                "down": {
                    "uv": [0, 8, 8, 16],
                    "cullface": "down",
                    "tintindex": 0,
                    "texture": "#main"
                }
            }
        },
        {
            "from": [8, 0, 0],
            "to": [16, 8, 8],
            "faces": {
                "north": {
                    "uv": [0, 8, 8, 16],
                    "cullface": "north",
                    "tintindex": 0,
                    "texture": "#main"
                },
                "east": {
                    "uv": [8, 8, 16, 16],
                    "cullface": "east",
                    "tintindex": 0,
                    "texture": "#main"
                },
                "down": {
                    "uv": [8, 8, 16, 16],
                    "cullface": "down",
                    "tintindex": 0,
                    "texture": "#main"
                }
            }
        },
        {
            "from": [0, 0, 8],
            "to": [8, 8, 16],
            "faces": {
                "south": {
                    "uv": [0, 8, 8, 16],
                    "cullface": "south",
                    "tintindex": 0,
                    "texture": "#main"
                },
                "west": {
                    "uv": [8, 8, 16, 16],
                    "cullface": "west",
                    "tintindex": 0,
                    "texture": "#main"
                },
                "down": {
                    "uv": [0, 0, 8, 8],
                    "cullface": "down",
                    "tintindex": 0,
                    "texture": "#main"
                }
            }
        },
        {
            "from": [8, 0, 8],
            "to": [16, 8, 16],
            "faces": {
                "east": {
                    "uv": [0, 8, 8, 16],
                    "cullface": "east",
                    "tintindex": 0,
                    "texture": "#main"
                },
                "south": {
                    "uv": [8, 8, 16, 16],
                    "cullface": "south",
                    "tintindex": 0,
                    "texture": "#main"
                },
                "down": {
                    "uv": [8, 0, 16, 8],
                    "cullface": "down",
                    "tintindex": 0,
                    "texture": "#main"
                }
            }
        },
        {
            "from": [0, 8, 0],
            "to": [8, 16, 8],
            "faces": {
                "north": {
                    "uv": [8, 0, 16, 8],
                    "cullface": "north",
                    "tintindex": 0,
                    "texture": "#main"
                },
                "west": {
                    "uv": [0, 0, 8, 8],
                    "cullface": "west",
                    "tintindex": 0,
                    "texture": "#main"
                },
                "up": {
                    "uv": [0, 0, 8, 8],
                    "cullface": "up",
                    "tintindex": 0,
                    "texture": "#main"
                }
            }
        },
        {
            "from": [8, 8, 0],
            "to": [16, 16, 8],
            "faces": {
                "north": {
                    "uv": [0, 0, 8, 8],
                    "cullface": "north",
                    "tintindex": 0,
                    "texture": "#main"
                },
                "east": {
                    "uv": [8, 0, 16, 8],
                    "cullface": "east",
                    "tintindex": 0,
                    "texture": "#main"
                },
                "up": {
                    "uv": [8, 0, 16, 8],
                    "cullface": "up",
                    "tintindex": 0,
                    "texture": "#main"
                }
            }
        },
        {
            "from": [0, 8, 8],
            "to": [8, 16, 16],
            "faces": {
                "south": {
                    "uv": [0, 0, 8, 8],
                    "cullface": "south",
                    "tintindex": 0,
                    "texture": "#main"
                },
                "west": {
                    "uv": [8, 0, 16, 8],
                    "cullface": "west",
                    "tintindex": 0,
                    "texture": "#main"
                },
                "up": {
                    "uv": [0, 8, 8, 16],
                    "cullface": "up",
                    "tintindex": 0,
                    "texture": "#main"
                }
            }
        },
        {
            "from": [8, 8, 8],
            "to": [16, 16, 16],
            "faces": {
                "east": {
                    "uv": [0, 0, 8, 8],
                    "cullface": "east",
                    "tintindex": 0,
                    "texture": "#main"
                },
                "south": {
                    "uv": [8, 0, 16, 8],
                    "cullface": "south",
                    "tintindex": 0,
                    "texture": "#main"
                },
                "up": {
                    "uv": [8, 8, 16, 16],
                    "cullface": "up",
                    "tintindex": 0,
                    "texture": "#main"
                }
            }
        }
    ]
}

 

Edited by Silly511
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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