15 lines
289 B
GLSL
15 lines
289 B
GLSL
#version 430 core
|
|
layout (location = 0) out vec4 FragColor;
|
|
layout (location = 1) out vec4 BloomColor;
|
|
|
|
uniform vec3 color;
|
|
uniform float exposition;
|
|
|
|
|
|
out vec4 outColor;
|
|
void main()
|
|
{
|
|
//outColor = vec4(vec3(1.0) - exp(-color*exposition),1);
|
|
outColor = vec4(color, 1.0);
|
|
}
|