-
Notifications
You must be signed in to change notification settings - Fork 810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quad ordering is incorrect after material downgrading, causing problems with certain block models #2868
Labels
Milestone
Comments
Does this issue happen without Iris? |
I can reproduce without Iris on |
For reference, the result vanilla produces is oak leaves that look like a snow block. {
"parent": "block/block",
"textures": {
"particle": "block/oak_leaves",
"all": "block/oak_leaves",
"1": "block/snow"
},
"elements": [
{
"from": [0, 0, 0],
"to": [16, 16, 16],
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#all", "cullface": "north", "tintindex": 0},
"east": {"uv": [0, 0, 16, 16], "texture": "#all", "cullface": "east", "tintindex": 0},
"south": {"uv": [0, 0, 16, 16], "texture": "#all", "cullface": "south", "tintindex": 0},
"west": {"uv": [0, 0, 16, 16], "texture": "#all", "cullface": "west", "tintindex": 0},
"up": {"uv": [0, 0, 16, 16], "texture": "#all", "cullface": "up", "tintindex": 0},
"down": {"uv": [0, 0, 16, 16], "texture": "#all", "cullface": "down", "tintindex": 0}
}
},{
"from": [0, 0, 0],
"to": [16, 16, 16],
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#1", "cullface": "north"},
"east": {"uv": [0, 0, 16, 16], "texture": "#1", "cullface": "east"},
"south": {"uv": [0, 0, 16, 16], "texture": "#1", "cullface": "south"},
"west": {"uv": [0, 0, 16, 16], "texture": "#1", "cullface": "west"},
"up": {"uv": [0, 0, 16, 16], "texture": "#1", "cullface": "up"}
}
}]
} |
Possibly related to #2810? |
i think yes, but not need Continuity |
@jellysquid3 yes, iris is not need in fact |
jellysquid3
added
A-resource-packs
Area: Resource packs
T-bug
Type: Bug
P-high
Priority: High
and removed
S-needs-triage
Status: Needs triage
labels
Nov 12, 2024
jellysquid3
changed the title
Sodium has incorrectly enforced ordering for texture overrides of block model.
Quad ordering is incorrect after material downgrading, causing problems with certain block models
Nov 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
In vanilla MC, Mojang allowed modders to overlay textures by means of isotropic blocks, without being affected by z-depth.
An example is the grass block model, which makes layered tinting possible and more flexible.
However, in Sodium, although side coverage is still supported, There is a weird sorting problem here.
Reproduction Steps
TESTPack.zip
Log File
None log, because it not crash.
debug.log
Crash Report
crash-2024-11-06_12.14.25-client.txt
The text was updated successfully, but these errors were encountered: