Skip to content

Commit

Permalink
Reduce cloud coloring for colored fog and cloud mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sapier authored and sapier committed Dec 15, 2013
1 parent 5fd92d6 commit 3946d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sky.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ void Sky::update(float time_of_day, float time_brightness,
m_cloudcolor_bright_f.b * m_cloud_brightness,
1.0);
if (m_directional_colored_fog) {
m_cloudcolor_f = m_mix_scolorf(m_cloudcolor_f, video::SColorf(pointcolor), m_horizon_blend() * 0.75);
m_cloudcolor_f = m_mix_scolorf(m_cloudcolor_f, video::SColorf(pointcolor), m_horizon_blend() * 0.25);
}

}
Expand Down

0 comments on commit 3946d2a

Please sign in to comment.