This commit is contained in:
thatscringebro
2023-02-16 09:26:40 -05:00
parent cffe9490f0
commit 9dfd911bff
200 changed files with 28477 additions and 86 deletions

12
media/shaders/shader01.frag Executable file
View File

@@ -0,0 +1,12 @@
uniform sampler2D tex;
varying vec4 light;
void main()
{
vec4 texel;
texel = texture2D(tex,gl_TexCoord[0].st);
texel *= light;
gl_FragColor = texel;
}

8
media/shaders/shader01.vert Executable file
View File

@@ -0,0 +1,8 @@
varying vec4 light;
void main()
{
light = gl_Color;
gl_TexCoord[0] = gl_MultiTexCoord0;
gl_Position = ftransform();
}