remove fog start and fog end parameters

This commit is contained in:
veclavtalica
2025-01-20 19:29:57 +03:00
parent 8a5d639f95
commit 3f9906a918
5 changed files with 3 additions and 9 deletions

View File

@ -454,8 +454,6 @@ void finally_draw_command(DeferredCommandDraw command) {
ctx.game_copy.fog_density = clampf(ctx.game_copy.fog_density, 0.0, 1.0);
glFogf(GL_FOG_DENSITY, ctx.game_copy.fog_density);
glFogf(GL_FOG_START, ctx.game_copy.fog_start);
glFogf(GL_FOG_END, ctx.game_copy.fog_end);
float color_conv[4];
color_conv[0] = (float)ctx.game_copy.fog_color.r / UINT8_MAX;

View File

@ -604,7 +604,6 @@ static bool initialize(void) {
ctx.window_mouse_resident = true;
ctx.game.fog_color = (Color){ 255, 255, 255, 255 }; /* TODO: pick some grey? */
ctx.game.fog_end = 1.0f;
update_viewport();