add tonemapping shaders

This commit is contained in:
2020-05-22 19:59:34 +08:00
parent eb0b29275e
commit 23685cd868
18 changed files with 606 additions and 59 deletions

17
shader/r_composition.vert Normal file
View File

@@ -0,0 +1,17 @@
#version 460 core
/**
* Copyright (c) 2018-2020 www.hyzgame.com
*
* Create by ShaderMaker
*/
layout(location = 0) in vec2 Vertex;
layout(location = 0) out vec2 vs_out_position;
void main()
{
gl_Position=vec4(Vertex,0.0,1.0);
vs_out_position=(Vertex+1.0)/2.0;
}