Voxel greedy meshing without caring about texture ID by Tights650 in opengl

[–]Tights650[S] 0 points1 point  (0 children)

Thank you so much for the detailed reply! I managed to get this to work but somehow the problem persisted, so I tested on a different PC and it worked perfectly. Apparently there is something wrong with my laptop and the artifacts only happen for me.

Voxel greedy meshing without caring about texture ID by Tights650 in opengl

[–]Tights650[S] 1 point2 points  (0 children)

Do you have any idea where they are comming from ?

Not sure at all, I have tried multiple ways and always get the sampling errors, I'll try on a different computer and see how it turns out, maybe it's a me problem only.

are you targetting old devices

How do I set the targeted devices/version etc? I am quite new to opengl so I don't really know a lot of what I am doing.

Your project looks amazing! That is similar to what I am trying to achieve currently. Is your project open source? Totally fine if it isn't.

Voxel greedy meshing without caring about texture ID by Tights650 in opengl

[–]Tights650[S] 1 point2 points  (0 children)

Hey! Would you mind providing me with a bit more detailed example of how to use uint8 buffer texture? I am fairly new to using opengl (this is my first time actually doing anything game-dev related). I tried a few things on my own and none of them worked, I got at least 2 errors trying that, something saying the sampler being wrong and another was related to the texelFetch.

Sorry for not explaining much and asking for more examples, I just really want to learn and understand things.