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
-

hyper Outer dust Sans
by 6Abryan1
-

Disney XD (2023) VeggieTales And Fun Bumpers [FANMADE]
by veggietalesfan78
-

Sprunki Retake TADC mod
by skyguy0011
-

BFB 6 meme but with some of my friends
by TTFO2024
-

HTSprunkis Retake
by FACUNEX_ANIMATION
-

Renewed my Aury Set remix
by gabrielkenzie
-

Beat Up Me
by tiziland009
-

Klaskyklaskyklaskyklasky Gummy Bear song version remix-12
by Gum1my
-

the roaring knight
by Mister_peebody
-

Ultra Numberblocks Night 2020 Jumpscares but it’s my ver
by thereturnofrcg06
-

(DO NOT REPORT) Raddy's Daycare Animations
by sn317448
-

Kit to leader but with more stuff and vibing
by fluffycat6534
-

c.v 4 life
by Titia
-

Super Mario Advanced 4!!!
by fatguy61king
-

GD Levels 16-21 v3.7
by scratchcoder1345
-

BATTLE ROYALE 4.7
by nguyenhm
-

モンスト 呪術廻戦0コラボ中
by gjpjpm
-

高速フーリエ変換&乗算
by sakura_neko
-

Beat Up Cat Fixed Again
by zzhhooookk
-

Dumb Ways to Die - Blood, Skeleton and Organs Assets (For @Numpty-From-DWTD)
by TheDWtDFanGirl
-

Scratch Cat Hates The X (Free to Use)
by TheReturnOf24Again
-

Beat up NEED-TOO: Back From The Dead
by YoSoyUnImpostor
-

Beat Up Nickel Again remix
by Chubbs_456
-

Preview 2 Scratch Cat In Chorded + CoNfUsIoN
by gamerboy1228