Closed yezhiyi9670 closed 1 year ago
Describe the bug Many chunks become invisible when camera Y level is above 270 or below 0 due to broken culling.
Reproducibility
To Reproduce
/tp @s ~ 270 ~
/tp @s ~ -10 ~
Screenshots/Videos
Versions Nothirium: 1.12.2-0.1.10-beta RenderLib: 1.12.2-1.1.10 Forge: 14.23.5.2860 Minecraft: 1.12.2 Other mods (necessary to reproduce the bug): .mixinbooter-7.0.jar, [___MixinCompat-0.8___].jar
mixinbooter-7.0.jar
[___MixinCompat-0.8___].jar
Hardware CPU: AMD Ryzen7 4800H RAM: 24GB GPU: NVIDIA GeForce RTX2060 with Max-Q Design (also tested: AMD Radeon(TM) Graphics) VRAM: 6GB
Log File latest.log
Technical Info It's found that the issue is gone if I void the isVisibleFromAnyOrigin method in AbstractRenderChunk.java.
isVisibleFromAnyOrigin
AbstractRenderChunk.java
public boolean isVisibleFromAnyOrigin(Direction direction) { // return (visibleDirections & (1 << direction.ordinal())) != 0; return true; }
Should be fixed in 1.12.2-0.2.1-beta
Describe the bug Many chunks become invisible when camera Y level is above 270 or below 0 due to broken culling.
Reproducibility
To Reproduce
/tp @s ~ 270 ~
.❎ The terrain below become suddenly invisible.
/tp @s ~ -10 ~
.Screenshots/Videos
Versions Nothirium: 1.12.2-0.1.10-beta RenderLib: 1.12.2-1.1.10 Forge: 14.23.5.2860 Minecraft: 1.12.2 Other mods (necessary to reproduce the bug): .
mixinbooter-7.0.jar
,[___MixinCompat-0.8___].jar
Hardware CPU: AMD Ryzen7 4800H RAM: 24GB GPU: NVIDIA GeForce RTX2060 with Max-Q Design (also tested: AMD Radeon(TM) Graphics) VRAM: 6GB
Log File latest.log
Technical Info It's found that the issue is gone if I void the
isVisibleFromAnyOrigin
method inAbstractRenderChunk.java
.