From 56060fd75a65e672dad820bd516bb0c6dd539eed Mon Sep 17 00:00:00 2001 From: Jukitsu Date: Sat, 16 Dec 2023 09:22:42 +0100 Subject: [PATCH] Fix vertex Shader --- Jukcraft/assets/shaders/terrain/vert.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jukcraft/assets/shaders/terrain/vert.glsl b/Jukcraft/assets/shaders/terrain/vert.glsl index 2d3e73a..ab89b2a 100644 --- a/Jukcraft/assets/shaders/terrain/vert.glsl +++ b/Jukcraft/assets/shaders/terrain/vert.glsl @@ -45,5 +45,5 @@ void main(void) { clamp(blocklightMultiplier * (1.0 + 0.25 * (1.0 - u_Daylight)), intermediateSkylightMultiplier, 1.0), clamp(skylightMultiplier * u_Daylight, blocklightMultiplier, 1.0) ); - vs_Out.v_Shading = pow(shading, 2.2f) * ao; + vs_Out.v_Shading = shading * ao; } \ No newline at end of file