diff --git a/src/microbe_stage/compound_cloud_system.cpp b/src/microbe_stage/compound_cloud_system.cpp index b6b45b42749..a9950109467 100644 --- a/src/microbe_stage/compound_cloud_system.cpp +++ b/src/microbe_stage/compound_cloud_system.cpp @@ -1178,7 +1178,7 @@ void // TODO: move this to the shaders for better performance (we would // need to pass a float instead of a byte). int intensity = - static_cast(255 * std::log(density[i][j] / 1000 + 1)); + static_cast(255 * 2 * std::atan(0.003f * density[i][j])); // This is the same clamping code as in the old version intensity = std::clamp(intensity, 0, 255);