3d checkerboard floors give the player the illusion of speed and direction in first or third person motion. move mouse to move around Update: Added infinite scrolling, skybox from @atomicmagicnumber and a fade to soften the grass floor as suggested by @chrome_cat
This uses ~40 triangles and <800 blocks and hopefully is backpackable with 3 global variables. Main perf improvements in the method are : 1. Only draw one color of the checkerboard 2. Only draw visible quads by culling on zclip and x-frustum 3. Camera pitch is offset on projection calculation 4. Reduces quad detail near horizon This uses an .obj model with 16x16 tiled plain 256 half it to 128 quads for one color. X and Z mods the camX and camZ to give an infinite floor effect. The camera pitch is offset on projection calculations but not the camera movement to reduce horizon tri count. Skybox sprite hides the snapping of new quad loading in on the horizon when in motion. Maybe stamping could be faster? Based off @ChromeCat_test excellent project "Simple 3D Engine" Skybox code & background from @atomicmagicnumber https://scratch.mit.edu/projects/677065493