diff --git a/fancy1.cpp b/fancy1.cpp index 9600c1b..2936386 100644 --- a/fancy1.cpp +++ b/fancy1.cpp @@ -28,7 +28,7 @@ int main() { FastScene scene; - scene.setBackgroundColor(Color(0.529f, 0.808f, 0.922f)); + scene.setBackgroundColor(Color(0.529f, 0.808f, 0.922f) * 0.2f); // Add lights auto mainLight = std::make_shared(Vector3d(-1.0f, -0.5f, -1.0f), 10.0f, Color(1, 0.79f, 0.62f)); diff --git a/shader/cloudshader.h b/shader/cloudshader.h index 9b89ca7..c0773ea 100644 --- a/shader/cloudshader.h +++ b/shader/cloudshader.h @@ -15,11 +15,11 @@ struct CloudSettings int densitySamples = 100; int lightSamples = 100; float scale = 10; - float densityOffset = -0.55f; + float densityOffset = -0.57f; float densityIntensity = 7.0f; float darknessThreshold = 0.07f; - float shadowLightAbsorption = 2; float shadowIntensity = 0.8f; + float shadowLightAbsorption = 1; float lightAbsorptionTowardsLight = 0.94f; float lightAbsorptionThroughCloud = 0.85f; };