summaryrefslogtreecommitdiff
path: root/demo.fs
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-05-22 15:19:55 -0500
committersanine-a <sanine.not@pm.me>2020-05-22 15:19:55 -0500
commite02ac3c921d816945324f1a887a0ed1db12f342e (patch)
tree125ce51b1038b786810a1fcb7cf7f536369350ae /demo.fs
parent5379b4214696e64902c5e10b3d4ef3d503fddcc4 (diff)
create basic honey_camera
Diffstat (limited to 'demo.fs')
-rw-r--r--demo.fs4
1 files changed, 3 insertions, 1 deletions
diff --git a/demo.fs b/demo.fs
index 84ed0fd..03159de 100644
--- a/demo.fs
+++ b/demo.fs
@@ -9,5 +9,7 @@ out vec4 FragColor;
void main()
{
- FragColor = mix(texture(box_texture, texture_coordinate), texture(happy_texture, vec2(1,1)-texture_coordinate), 0.2);
+ FragColor = mix(texture(box_texture, texture_coordinate),
+ vec4(texture(happy_texture, texture_coordinate).xyz, 1.0),
+ 0.2);
}