summaryrefslogtreecommitdiff
path: root/demo.fs
diff options
context:
space:
mode:
Diffstat (limited to 'demo.fs')
-rw-r--r--demo.fs8
1 files changed, 2 insertions, 6 deletions
diff --git a/demo.fs b/demo.fs
index ddfc235..e43d761 100644
--- a/demo.fs
+++ b/demo.fs
@@ -1,14 +1,10 @@
#version 330 core
-in vec3 outColor;
-in vec2 outTexCoord;
+in vec4 color;
out vec4 FragColor;
-uniform sampler2D boxTexture;
-uniform sampler2D happyTexture;
-
void main()
{
- FragColor = mix(texture(boxTexture, outTexCoord), texture(happyTexture, outTexCoord), 0.1);
+ FragColor = color;
}