Improved camera, added new example
This commit is contained in:
parent
13e924538c
commit
5c28e2fb27
14 changed files with 335 additions and 10106 deletions
12
examples/movement/shaders/fragmentShader.frag
Normal file
12
examples/movement/shaders/fragmentShader.frag
Normal 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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue