fog is now affected by the background color

This commit is contained in:
Zeno Rogue
2019-09-12 22:50:06 +02:00
parent 57470eafe4
commit 3da305b4ca
3 changed files with 23 additions and 12 deletions
+1 -1
View File
@@ -301,7 +301,7 @@ void display_data::set_projection(int ed) {
if(pers3) {
glhr::fog_max(1/sightranges[geometry]);
glhr::fog_max(1/sightranges[geometry], darkena(backcolor, 0, 0xFF));
}
if(glhr::new_shader_projection == glhr::shader_projection::ball)