From 310c0288c70cdf95a217df064a2ef9790e5be029 Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Wed, 8 May 2013 10:31:13 -0700 Subject: [PATCH] Changed atmosphere radius to 1000 meters. --- libraries/voxels/src/EnvironmentData.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/voxels/src/EnvironmentData.cpp b/libraries/voxels/src/EnvironmentData.cpp index e951c55c06..e7af40c8d3 100644 --- a/libraries/voxels/src/EnvironmentData.cpp +++ b/libraries/voxels/src/EnvironmentData.cpp @@ -13,13 +13,13 @@ // initial values from Sean O'Neil's GPU Gems entry (http://http.developer.nvidia.com/GPUGems2/gpugems2_chapter16.html), // GameEngine.cpp (and the radius of the earth) EnvironmentData::EnvironmentData() : - _atmosphereCenter(0, -6371000, 0), - _atmosphereInnerRadius(6371000), - _atmosphereOuterRadius(6530275), + _atmosphereCenter(0, -1000, 0), + _atmosphereInnerRadius(1000), + _atmosphereOuterRadius(1025), _rayleighScattering(0.0025f), _mieScattering(0.0010f), _scatteringWavelengths(0.650f, 0.570f, 0.475f), - _sunLocation(1000, 1000, 0), + _sunLocation(1000, 500, 0), _sunBrightness(20.0f) { }