From f09e5791837bb003f7c5db8c0e3162636bc9a9c2 Mon Sep 17 00:00:00 2001 From: Mel Date: Wed, 12 Jul 2023 03:39:01 +0200 Subject: 3D Clouds --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') 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); -- cgit 1.4.1