Description
UPDATE: Back-ported backface culling. (hohoho) The code includes lots of unrolled loops and duplicated code to save doing things twice or with excessive calculation, so the code is pretty messy. Since this is affine texture mapping, the texturing will look funky when used on perspective transforms (you can see this on the first Playstation). This is the simplest form of texture mapping though, so it makes sense to implement this first. As you can see, this is way too slow to be practical. The framerate could be increased a lot by doing backface culling, which I might copy over from my racetrack project. I'm going to try this on a more advanced model, but it'll probably be a a like render instead of realtime. Credit to Mojang for the grass block texture from Minecraft.
Instructions
Affine Texture Mapping in Scratch. Adjust the distance slider (closer is slower) and Poly Resolution slider. I use the same texture converter as with the Earth Shader: http://dl.dropbox.com/u/12239448/ScratchTexture/index.html Model of Link Imported: http://scratch.mit.edu/projects/10541079/
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects
-

(legit) undertale full game actully real! #undertale #fnaf #minecraft #real #games #anything#%15
by lolomgdudesus
-

Samsung SGH X120 Startup And Shutdown Emulated. remix
by DxminicMa
-

写絵がうまかった時のSecret exit
by miyadayo03
-

wild animal stampede
by animalslover44
-

1X1X1X1 MEME #animation #1x #roblox #forsaken
by TwinTSYou
-

Fushi dans les Backrooms mais plus simple
by ELFEN61
-

fish tank
by cjsmgs
-

ultimate bfdi vectors spritepack assets so far
by RamiroJose8XD
-

among us dash
by GHOSTBUSTERRAYLAN
-

Talking Ginger and Ben News
by Statue16
-

[ARCHIVED + UNFINIShHED] ScratchLife _ #All #Games
by Yoshi_Alt
-

MY SIMON'S REALM RETAKE
by sonki2025
-

Beat Up Zomboss! 2026 (UPDATE 1.2)
by Pacuddlesfan
-

Virtual Fidget Spinner disco
by TOTHEMOON321EXTRA
-

sudden changes sans fight
by _-p-_
-

Timeblocks Band 1
by CharlieCreator4310
-

Beat Up Dora (With Cheese Button) fixed remix copy
by hyd3ns33k
-

アニメ FOURVERSE 第34話「因縁」
by kesikesi_gomugomu
-

Combo clicker 2
by Coolscratchperson123
-

Beat Up Scratch Cat remix
by puredoom
-

beat up evilbross and feilpebross remix
by maverickjames32
-

Beat up Edward Remastered 2024
by Tyler-Time
-

Numbers Band 6
by IsaiahVilla2nd
-

tiny11 (Windows 11 Lite) 22H2 64-bit (NEW APP)
by logoalec