
Wires render at the same size no matter the distance
Cmdpro opened this issue ยท 0 comments
Describe the bug
Wires render at the same size no matter the distance
To Reproduce
Steps to reproduce the behavior:
- Place 2 Mercurial Connection Nodes
- Connect them with Mercurial Copper Wire
- Move away from them
Expected behavior
The wires shrink the further you get
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