diff options
author | sanine-a <sanine.not@pm.me> | 2020-05-22 15:19:55 -0500 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-05-22 15:19:55 -0500 |
commit | e02ac3c921d816945324f1a887a0ed1db12f342e (patch) | |
tree | 125ce51b1038b786810a1fcb7cf7f536369350ae /demo.fs | |
parent | 5379b4214696e64902c5e10b3d4ef3d503fddcc4 (diff) |
create basic honey_camera
Diffstat (limited to 'demo.fs')
-rw-r--r-- | demo.fs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); } |