diff options
Diffstat (limited to 'demo.fs')
-rw-r--r-- | demo.fs | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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; } |