summary refs log tree commit diff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2023-07-12 03:39:01 +0200
committerMel <einebeere@gmail.com>2023-07-12 03:39:01 +0200
commitf09e5791837bb003f7c5db8c0e3162636bc9a9c2 (patch)
tree36b9a007f119388bb7943489e8d203de04269483 /src/main.cpp
parent0ce26f2a49fd6d64a690b84b1932126edfbfbee6 (diff)
downloadmeowcraft-f09e5791837bb003f7c5db8c0e3162636bc9a9c2.tar.zst
meowcraft-f09e5791837bb003f7c5db8c0e3162636bc9a9c2.zip
3D Clouds
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 1688dac..6e78dab 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -81,7 +81,7 @@ void run() {
     Vector<3, F32> sky_color{0.85, 0.85, 0.85}; // #DBDBDB
     sky_color_uniform.set(sky_color);
 
-    MC::World::Clouds clouds{ASPECT, FOV, 0.1f, 1000.0f, sky_color};
+    MC::World::Clouds clouds{ASPECT, FOV, 0.1f, 1000.0f, sky_color, sun_direction};
 
     glEnable(GL_DEPTH_TEST);
     glDepthFunc(GL_LEQUAL);