From ad2d45ada0ccb6219dee685eced1a7d749221ee9 Mon Sep 17 00:00:00 2001 From: CobaltXII Date: Mon, 31 Dec 2018 17:03:34 -0500 Subject: [PATCH] Increased fog density --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 6f592e0..6460c3c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -184,7 +184,7 @@ int main(int argc, char** argv) // Define the player's acceleration constant. - const float acceleration = 0.1f; + const float acceleration = 0.025f; // Define the player's friction constant. @@ -455,7 +455,7 @@ int main(int argc, char** argv) // Pass the fog distance to the block_shader_program. - glUniform1f(glGetUniformLocation(block_shader_program, "fog_distance"), float(the_world->x_res * the_world->x_res)); + glUniform1f(glGetUniformLocation(block_shader_program, "fog_distance"), float(the_world->x_res * the_world->x_res) / 2.0f); // Bind the block_texture_array to the current state.