remove fog start and fog end parameters
This commit is contained in:
@ -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;
|
||||
|
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user