Initial commit: Final state of the master project

This commit is contained in:
2017-09-16 09:41:37 +02:00
commit 696180d43b
832 changed files with 169717 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#version 330 core
in vec2 UV;
out vec3 color;
uniform sampler2D depthTexture;
uniform sampler2D renderTexture;
uniform bool showDepth = false;
void main(){
if (showDepth)
{
color = vec3(texture2D( depthTexture, UV ).r ) ;
} else
{
color = texture(renderTexture, UV).xyz;
}
}