UPDATE: I figured out that it has to do something with the amount objects can go offscreen before the get removed by the z-clipping. Press SPACE to see it. It only gets disorted when it goes far offscreen. It only happens to trianlges that are straight left and right to you, not behind you. It has to do something within the calculations bc when I set turned the offscreen limit off it still happened. wip, z-clipping still bit weird just shared this so some1 could take a look at it I'm having issues with the z-clipping working but still appearing on the edges and sometimes triangles will appear and fill the screen on certain angles because the x variable shoots into the thousands. E. g. if you walk past the cube, and the further you are from the cube the more intense the triangles get.
tutorial: @Codingbio tri filler: @-Rex-Test- & @Geotale z-clipping: @S_Tutorials Made it more clear if you press SPACE. That will add a floor, and the triangles will go all over the screen if they get too far offscreen.