Theurgy

Theurgy

15M Downloads

Wires render at the same size no matter the distance

Cmdpro opened this issue ยท 0 comments

commented

Describe the bug
Wires render at the same size no matter the distance

To Reproduce
Steps to reproduce the behavior:

  1. Place 2 Mercurial Connection Nodes
  2. Connect them with Mercurial Copper Wire
  3. Move away from them

Expected behavior
The wires shrink the further you get

Screenshots
2024-10-07_00 09 55
2024-10-07_00 09 59

System (please complete the following information):

  • Theurgy Version: 1.21.1-neoforge-1.56.0
  • OS: Windows
  • Minecraft Version: 1.21.1
  • Modpack Link and Version, or list of mods: Theurgy, Geckolib, Modonomicon

Additional context
This was created in a testing modpack because i remember seeing the issue a bit ago

I actually know of a fix because i had to fix this in my mod, if you were to take the lines shader and make your own shader from it and move the vertexDistance assignment up to the top, you can divide the lineOffset by the vertexDistance when it is assigned to get a shader that renders a line which shrinks the further you get, this is all in the .vsh