This commit is contained in:
Leo Codes
2025-03-09 18:32:49 +01:00
commit fd46963e72
749 changed files with 8194 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#version 130
varying vec2 texCoord;
varying vec4 vertexColor;
uniform sampler2D textureSampler;
void main() {
gl_FragColor = texture(textureSampler, texCoord) * vertexColor;
}
+16
View File
@@ -0,0 +1,16 @@
#version 130
attribute vec3 vertex;
attribute vec4 color;
attribute vec2 uv;
varying vec2 texCoord;
varying vec4 vertexColor;
uniform mat4 projMat;
void main() {
texCoord = uv;
vertexColor = color;
gl_Position = projMat * vec4(vertex, 1.0);
}
+5
View File
@@ -0,0 +1,5 @@
#version 130
void main() {
gl_FragColor = vec4(1, 1, 1, 1);
}
+9
View File
@@ -0,0 +1,9 @@
#version 130
attribute vec3 vertex;
uniform mat4 projMat;
void main() {
gl_Position = projMat * vec4(vertex, 1.0);
}
+7
View File
@@ -0,0 +1,7 @@
#version 130
varying vec4 vertexColor;
void main() {
gl_FragColor = vertexColor;
}
+13
View File
@@ -0,0 +1,13 @@
#version 130
attribute vec3 vertex;
attribute vec4 color;
varying vec4 vertexColor;
uniform mat4 projMat;
void main() {
vertexColor = color;
gl_Position = projMat * vec4(vertex, 1.0);
}
+9
View File
@@ -0,0 +1,9 @@
#version 130
varying vec2 texCoord;
uniform sampler2D textureSampler;
void main() {
gl_FragColor = texture(textureSampler, texCoord);
}
+13
View File
@@ -0,0 +1,13 @@
#version 130
attribute vec3 vertex;
attribute vec2 uv;
varying vec2 texCoord;
uniform mat4 projMat;
void main() {
texCoord = uv;
gl_Position = projMat * vec4(vertex, 1.0);
}
+10
View File
@@ -0,0 +1,10 @@
#version 130
varying vec2 texCoord;
varying vec4 vertexColor;
uniform sampler2D textureSampler;
void main() {
gl_FragColor = texture(textureSampler, texCoord) * vertexColor;
}
+16
View File
@@ -0,0 +1,16 @@
#version 130
attribute vec3 vertex;
attribute vec4 color;
attribute vec2 uv;
varying vec2 texCoord;
varying vec4 vertexColor;
uniform mat4 projMat;
void main() {
texCoord = uv;
vertexColor = color;
gl_Position = projMat * vec4(vertex, 1.0);
}