GRK_Room/cw 9/shaders/shader_8_sun.frag
Angelika Iskra a50c6b8a92 init
2023-01-14 12:00:59 +01:00

12 lines
169 B
GLSL

#version 430 core
uniform vec3 color;
uniform float exposition;
out vec4 outColor;
void main()
{
outColor = vec4(vec3(1.0) - exp(-color*exposition),1);
}