aresrpg / aresrpg-engine

Voxel rendering engine
0 stars 0 forks source link

Voxels holes/bug #27

Open Sceat opened 3 months ago

Sceat commented 3 months ago

In some rare case (I'm not able to reproduce) the terrain is messed up in certain patches

image
Sceat commented 6 days ago

@piellardj it seems to be happening also in latest version

Image

piellardj commented 6 days ago

Arf :(.

I don't understand what is happening. I will reread the shaders code.

I haven't seen these holes on my machine for a while. If you reload the game, are they always in the same spots or is it random ?

piellardj commented 6 days ago

Debugging GPU stuff is very tricky, sometimes it depends on drivers etc.

If I fail to fix this, another option I might explore would be to make the mesh generation on CPU-side in a separate thread. It will be more robust / more easily debuggable for sure. It might be slower tho.

Sceat commented 6 days ago

it usually works, it's pretty random and at different positions each time. It's not that urgent as we can still play, if it's OS/hardware specific then it'll be quite hard to debug for now, let's not make it a priority :/ @DeltaEvo might be of help here

Sceat commented 2 days ago

Image

Image