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
-

Beat Up TF! Dot! (24) remix remix
by SRash75
-

(FIXED) P2SC in G-Major 36 V2
by veggietalesfan78
-

Beat up Six v0.1 remix
by aaliyalcin
-

жопа горит!
by kreper1
-

Beat Up Baby Cat Emoji (3) remix
by ibby1313
-

Seadtype V17.0
by stevenrobloxisback
-

wither storm game by omega_pr0
by kauanzed
-

AY in Roulette of Trapdoors! [ Remix 11 | 37 Players ]
by Julian4-301
-

level toriel
by levelsans
-

Colorblocks band But Coolors (Day 12)
by dano0219
-

Birthday Boy Blam Vector
by HADALT
-

Charlie The Steak 2D In Smash Bros Ultimate
by Gummibar1212
-

Charlie the Steak
by Geometrydashking17
-

The Limbus Company Bus Department
by Its_Me_Passive
-

BFDI/BFDIA/IDFB/BFB/TPOT Contestant Generating Game remix
by justin121959
-

Add A Button To Beat Up T!
by irsyadthecreator
-

Burmese Alphabet Lore Concept V2:ဆ P1
by 128087t
-

Peppa Pig Gets Grounded School Hacked!
by FussyYT
-

Alex's Upgraded Georgian Jumpstart Letters fixed
by mermaidynsuperfan
-

Battle for Dream Island Again (Your Way)
by DatPoweringDude
-

UNDERTALE: MEGALOVANIA (Broken Promise Mix)
by FaZePoG
-

(依頼品置き場) UNDERTALE AU Sans素材
by ink_Gawr_Gura
-

Kone DX Class Elevator Ride remix
by hd110-0390
-

Project Blue BETA
by Qweffor