diff options
author | sanine-a <sanine.not@pm.me> | 2020-05-20 18:10:16 -0500 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-05-20 18:10:16 -0500 |
commit | 447c3de585cca51013b17017d968e3aee53f5c87 (patch) | |
tree | a728c4de651c4df82bc09ecc60672ab4798b4491 /demo.fs |
an initial commit
Diffstat (limited to 'demo.fs')
-rw-r--r-- | demo.fs | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +#version 330 core + +in vec3 outColor; +in vec2 outTexCoord; + +out vec4 FragColor; + +uniform sampler2D boxTexture; +uniform sampler2D happyTexture; + +void main() +{ + FragColor = mix(texture(boxTexture, outTexCoord), texture(happyTexture, outTexCoord), 0.2); +} |