From e02ac3c921d816945324f1a887a0ed1db12f342e Mon Sep 17 00:00:00 2001 From: sanine-a Date: Fri, 22 May 2020 15:19:55 -0500 Subject: create basic honey_camera --- demo.fs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'demo.fs') 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); } -- cgit v1.2.1