@retrotails
  @retrotails
retrotails | Godot engine - Affine texture mapping (PS1-style) @retrotails | Uploaded 9 years ago | Updated 4 days ago
Ever want your game to look like it was made for the Playstation 1? Why not I guess.

Vertex shader:
VAR1 = vec4(UV * VERTEX.z,VERTEX.z,0);

Fragment shader:
uniform texture imagem;
DIFFUSE=tex(imagem, VAR1.xy/VAR1.z).rgb;

Code public domain, in case I even had to say that.
Godot engine - Affine texture mapping (PS1-style)Compact, dual-analog DIY phone controller (Game Boy style)Retroarch rgui SnowRetroarch menu snowEarth Defense Force (PS2) PlaythroughLt. Vixen 3D Model - Squirrel and HedgehogToejam and Earl 3 Dreamcast BETA on actual hardwareGodot engine - Fancy marble reflection & refractionLove2D - Donkey Kong Country fishing minigame cloneLooney Toons - Powerhouse - Electronic RemixKerbal Space Program HumveeMinecraft - 1,000 Zombies

Godot engine - Affine texture mapping (PS1-style) @retrotails