2023-01-14 12:00:59 +01:00
|
|
|
#version 430 core
|
2023-01-30 12:10:43 +01:00
|
|
|
layout (location = 0) out vec4 FragColor;
|
|
|
|
layout (location = 1) out vec4 BloomColor;
|
2023-01-14 12:00:59 +01:00
|
|
|
|
|
|
|
uniform vec3 color;
|
|
|
|
uniform float exposition;
|
|
|
|
|
|
|
|
|
|
|
|
out vec4 outColor;
|
|
|
|
void main()
|
|
|
|
{
|
2023-01-30 12:10:43 +01:00
|
|
|
//outColor = vec4(vec3(1.0) - exp(-color*exposition),1);
|
|
|
|
outColor = vec4(color, 1.0);
|
2023-01-14 12:00:59 +01:00
|
|
|
}
|