Hopson97 / open-builder

Open "Minecraft-like" game with multiplayer support and Lua scripting support for the both client and server
https://github.com/Hopson97/open-builder/projects/3
GNU General Public License v3.0
700 stars 80 forks source link

Moire Effect #74

Open Hopson97 opened 4 years ago

Hopson97 commented 4 years ago

Bug Name

Moire Effect

Describe the bug

When looking in the distant, sometimes circles can appear on the terrain

To Reproduce

Just looks at things far away

Screenshots

Screenshot_20200113_065323

Desktop (please complete the following information):

Additional context

Possibly caused by wacky texture parameters on the Texture Array object (found in src/client/gl/textures.cpp)

UglySwedishFish commented 4 years ago

This is not a bug per se, but an artifact that is caused by geometry aliasing. There is nothing you could do in the texture tweaking to solve this.

UglySwedishFish commented 4 years ago

As an additional pointer to this, if you really want to get rid of it I could attempt a rewrite of the entire rendering pipeline. But I don't think you're going to like the additional work you're going to have to do when you want to add additional simple things (like waving plants)

redinator2000 commented 4 years ago

Possible ways to dodge the issue:

rehwinkel commented 4 years ago

I believe simple MSAA can fix this issue.