Improved camera, added new example

This commit is contained in:
Robert 2021-01-24 03:31:28 +01:00
parent 13e924538c
commit 5c28e2fb27
14 changed files with 335 additions and 10106 deletions

View file

@ -0,0 +1,12 @@
#version 330 core
in vec2 oUV;
out vec4 FragColor;
uniform sampler2D texture1;
uniform sampler2D texture2;
void main()
{
FragColor = mix(texture(texture1, oUV), texture(texture2, oUV), 0.2);
}