From 9e1a7213c72a45eb3fdcbad4a1fe3d6d804a622a Mon Sep 17 00:00:00 2001 From: MihailRis Date: Fri, 29 Dec 2023 16:23:12 +0300 Subject: [PATCH] Small fix --- res/shaders/skybox_gen.glslf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/shaders/skybox_gen.glslf b/res/shaders/skybox_gen.glslf index d3aa7609..8edff477 100644 --- a/res/shaders/skybox_gen.glslf +++ b/res/shaders/skybox_gen.glslf @@ -289,7 +289,7 @@ void main() { // apply exposure, removing this makes the brighter colors look ugly // you can play around with removing this col = 1.0 - exp(-col); - + col = min(col, vec3(1.0)); // Output to screen f_color = vec4(col, 1.0); }