ADDED: Missing GLSL120 shaders

This commit is contained in:
Ray
2025-08-11 20:22:02 +02:00
parent 705ce45a33
commit 8dae39fbda
22 changed files with 1141 additions and 0 deletions

View File

@ -0,0 +1,19 @@
#version 120
// Input vertex attributes (from vertex shader)
varying vec2 fragTexCoord;
varying vec4 fragColor;
// Input uniform values
uniform sampler2D texture0;
uniform vec4 colDiffuse;
// NOTE: Add your custom variables here
uniform vec2 tiling;
void main()
{
vec2 texCoord = fragTexCoord*tiling;
gl_FragColor = texture2D(texture0, texCoord)*colDiffuse;
}