I have been building a simple game engine in C++ with SDL and OpenGL / GLEW. I have simple textures and meshes working properly, except that they seem to tear and move when viewing things from a distance. What could be causing this? Does this artifacting have a name? Is there a process or technique to get rid of this kind of tearing?
The following link contains a video: https://www.youtube.com/watch?v=GeBb2w2WG-8&feature=youtu.be. Notice how the tearing only happens up close, and disappears when moving farther away.
There's a lot of code in my engine so far, and I didn't want to flood this post with code. If you need me to post something specific, just let me know.
Please and thanks for the help.