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.
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.