Increased fog density

This commit is contained in:
CobaltXII
2018-12-31 17:03:34 -05:00
parent 793985c23d
commit ad2d45ada0

View File

@@ -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.