My renders are bugged
Gentleman2292 opened this issue · comments
What are your coordinates (F3
)?
Might be a duplicate of https://gitlab.bixilon.de/bixilon/minosoft/-/issues/108
Im not saying my exact coords but im more than 100k away from x0 z0
Oh also when i move around it bugs harder
Yep, I noticed that a couple of months ago.
When the coordinates are too high, the values are not precise enough. I don't know how to solve it easily (without reducing performance).
Maybe adding precision highp float;
after the #version
line in the world shaders could make it better (https://github.com/Bixilon/Minosoft/blob/master/src/main/resources/assets/minosoft/rendering/shader/world/world.fsh and https://github.com/Bixilon/Minosoft/blob/master/src/main/resources/assets/minosoft/rendering/shader/world/world.vsh)
Should be fixed, can you check https://gitlab.bixilon.de/bixilon/minosoft/-/merge_requests/86? Maybe you see something that I haven't thought of yet.
do i have to build it from the src or is there something like github actions runner in gitlab (i've never used gitlab before sorry)
so, my gitlab does not create it for merge requests, github does only build for master too. Sorry.
I can't upload the build, only 25MB allowed.
But building from source is super easy:
git clone --depth=1 https://gitlab.bixilon.de/bixilon/minosoft.git
cd minosoft
git checkout fix/offset_world_coordinates
./gradlew.bat run
Known issues:
- broken world border
Should be fixed now!