diff --git a/Core/Game.cs b/Core/Game.cs index 0c0096d..f0a0a5e 100644 --- a/Core/Game.cs +++ b/Core/Game.cs @@ -116,6 +116,9 @@ public sealed class Game : GameWindow this._shader.SetMatrix4("view", this._player.Camera.GetViewMatrix()); this._shader.SetMatrix4("projection", this._player.Camera.GetProjectionMatrix()); this._shader.SetInt("atlas", 0); + this._shader.SetFloat("u_caveDarkStartY", this._cfg.CaveDarkStartY); + this._shader.SetFloat("u_caveDarkEndY", this._cfg.CaveDarkEndY); + this._shader.SetFloat("u_caveMinBrightness", this._cfg.CaveMinBrightness); this._texture.Use(TextureUnit.Texture0); this._streamer.DrawAll((pos, renderer) =>