Triangle filler with perspective correct texturing Features: - It doesn't loop through every pixel like it is usually done everywhere else. Instead for every scanline it calculates exact x positions of where each color starts and ends. - Performs perspective-correct texture mapping by taking into a count Z position of every vertex - x and y clipping - Texture looping by specifying UVs out of bounds Instructions for this demo: Drag points with mouse x - decrease quality z - increase quality r - load o - save Z only affects perspective distortion. Needs to be > 0. U and V mean X and Y of texture This triangle filler is easily backpackable, so that you use them in your projects. If it doesn't work, make sure you provided texture, RESOLUTION, TEXTURE_INDEX, TEXTURE_WIDTH, TEXTURE_HEIGHT and set Z to non-0 values. To import textures use: https://xeltalliv.github.io/ScratchTools/Img2list/#dc1 The stone texture in this project was drawn by me, it's not from minecraft: https://u.cubeupload.com/Xeltalliv/notMinecraft.png #3D #tri-filler #textured #triangle #filler