Skip to content

Commit

Permalink
Fix vertex Shader
Browse files Browse the repository at this point in the history
  • Loading branch information
Jukitsu committed Dec 16, 2023
1 parent 80ec11a commit 56060fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jukcraft/assets/shaders/terrain/vert.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 56060fd

Please sign in to comment.