summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/web/shaders/resources/shaders/glsl330/base_lighting.vs (renamed from examples/web/shaders/resources/shaders/glsl330/basic_lighting.vs)0
-rw-r--r--examples/web/shaders/resources/shaders/glsl330/fog.vs32
-rw-r--r--examples/web/shaders/resources/shaders/glsl330/lighting.fs (renamed from examples/web/shaders/resources/shaders/glsl330/basic_lighting.fs)0
-rw-r--r--examples/web/shaders/resources/shaders/glsl330/mask.vs21
4 files changed, 0 insertions, 53 deletions
diff --git a/examples/web/shaders/resources/shaders/glsl330/basic_lighting.vs b/examples/web/shaders/resources/shaders/glsl330/base_lighting.vs
index 509954d..509954d 100644
--- a/examples/web/shaders/resources/shaders/glsl330/basic_lighting.vs
+++ b/examples/web/shaders/resources/shaders/glsl330/base_lighting.vs
diff --git a/examples/web/shaders/resources/shaders/glsl330/fog.vs b/examples/web/shaders/resources/shaders/glsl330/fog.vs
deleted file mode 100644
index 00779cf..0000000
--- a/examples/web/shaders/resources/shaders/glsl330/fog.vs
+++ /dev/null
@@ -1,32 +0,0 @@
-#version 330
-
-// Input vertex attributes
-in vec3 vertexPosition;
-in vec2 vertexTexCoord;
-in vec3 vertexNormal;
-in vec4 vertexColor;
-
-// Input uniform values
-uniform mat4 mvp;
-uniform mat4 matModel;
-
-// Output vertex attributes (to fragment shader)
-out vec2 fragTexCoord;
-out vec4 fragColor;
-out vec3 fragPosition;
-out vec3 fragNormal;
-
-// NOTE: Add here your custom variables
-
-void main()
-{
- // Send vertex attributes to fragment shader
- fragTexCoord = vertexTexCoord;
- fragColor = vertexColor;
- fragPosition = vec3(matModel*vec4(vertexPosition, 1.0f));
- mat3 normalMatrix = transpose(inverse(mat3(matModel)));
- fragNormal = normalize(normalMatrix*vertexNormal);
-
- // Calculate final vertex position
- gl_Position = mvp*vec4(vertexPosition, 1.0);
-}
diff --git a/examples/web/shaders/resources/shaders/glsl330/basic_lighting.fs b/examples/web/shaders/resources/shaders/glsl330/lighting.fs
index 50b41f0..50b41f0 100644
--- a/examples/web/shaders/resources/shaders/glsl330/basic_lighting.fs
+++ b/examples/web/shaders/resources/shaders/glsl330/lighting.fs
diff --git a/examples/web/shaders/resources/shaders/glsl330/mask.vs b/examples/web/shaders/resources/shaders/glsl330/mask.vs
deleted file mode 100644
index 66a1516..0000000
--- a/examples/web/shaders/resources/shaders/glsl330/mask.vs
+++ /dev/null
@@ -1,21 +0,0 @@
-#version 330
-
-// Input vertex attributes
-in vec3 vertexPosition;
-in vec2 vertexTexCoord;
-
-// Input uniform values
-uniform mat4 mvp;
-uniform mat4 matModel;
-
-// Output vertex attributes (to fragment shader)
-out vec2 fragTexCoord;
-
-void main()
-{
- // Send vertex attributes to fragment shader
- fragTexCoord = vertexTexCoord;
-
- // Calculate final vertex position
- gl_Position = mvp*vec4(vertexPosition, 1.0);
-}