Added basic HDR rendering example (wip)

This commit is contained in:
saschawillems 2017-01-29 16:03:31 +01:00
parent 55771091de
commit cbfdfc904b
17 changed files with 1518 additions and 1 deletions

View file

@ -0,0 +1,16 @@
#version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
layout (binding = 0) uniform sampler2D samplerColor0;
layout (binding = 1) uniform sampler2D samplerColor1;
layout (location = 0) in vec2 inUV;
layout (location = 0) out vec4 outColor;
void main()
{
outColor = texture(samplerColor0, inUV);
}