Skip to content
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

Block model cuboids and their textures are misaligned compared to vanilla #1902

Closed
WeegeeTheDoggo opened this issue Jul 22, 2023 · 4 comments
Labels
A-vanilla-parity Area: Vanilla parity R-pending-release Resolution: Pending release S-confirmed Status: Confirmed T-bug Type: Bug
Milestone

Comments

@WeegeeTheDoggo
Copy link

Bug Description

Expected: Block models and textures to line up as they normally do in vanilla

Actual: Block models and textures are slightly out of line

I believe this to be a bug. It does not happen with any other mods, or just by using Fabric itself, or in vanilla. I'm not aware of a setting that could remedy this, after looking through all the in-game settings for Sodium and testing each one. This bug affects an unknown number of block models, but I can verify it in end rods, torches, and fences. I expect that it affects many more.

Normal:
2023-07-22_07 35 25
Using Sodium:
2023-07-22_07 33 26

Reproduction Steps

  • Make sure fabric-loader-0.14.21-1.20.1 is installed
  • Download fabric-api-0.86.0+1.20.1 and sodium-fabric-mc1.20-0.4.10+build.27 and place them into the mods folder
  • Launch Minecraft Launcher
  • Select fabric-loader-0.14.21-1.20.1 profile
  • Wait for game to load, then enter a world and look closely at block model (such as end rod) (use spectator mode if needed)

Log File

latest.log

Crash Report

crash-2023-07-22_07.39.29-client.txt

@WeegeeTheDoggo WeegeeTheDoggo added the S-needs-triage Status: Needs triage label Jul 22, 2023
@pajicadvance pajicadvance added S-confirmed Status: Confirmed A-vanilla-parity Area: Vanilla parity and removed S-needs-triage Status: Needs triage labels Jul 25, 2023
@pajicadvance
Copy link
Member

I can reproduce this on my system.

@muzikbike
Copy link

Vanilla has its own alignment issues with models as well. (#1316)

I wonder if it'd be possible for Sodium to fix this issue and the vanilla cases as well (#1607). There exist mods such as Model Gap Fix and Model Fix Multi which resolve vanilla's issues with this, so integrating such a fix into Sodium as well so that more people can benefit would be a nice touch.

@jellysquid3
Copy link
Member

We can't really fix any of these vertex precision issues until the fluid renderer is rewritten to not abuse them. At that point, it should become possible to correct the off-by-one issue which affects texture coordinates, since it won't cause texture gaps in fluid rendering.

@jellysquid3
Copy link
Member

The issue described here should be fixed with ea01727.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-vanilla-parity Area: Vanilla parity R-pending-release Resolution: Pending release S-confirmed Status: Confirmed T-bug Type: Bug
Projects
None yet
Development

No branches or pull requests

4 participants