diff --git a/internal/AtmosphereRef.cpp b/internal/AtmosphereRef.cpp index 8d60acd4..bbe78999 100644 --- a/internal/AtmosphereRef.cpp +++ b/internal/AtmosphereRef.cpp @@ -971,7 +971,7 @@ void Ray::Ref::ShadeSky(const pass_settings_t &ps, const float limit, Span 0.0f) { // Use fake lightsource (to light up the moon) const fvec4 light_dir = {0.0f, -1.0f, 0.0f, 0.0f}, - light_col = {144809.866891f, 129443.618266f, 127098.894121f, 0.0f}; + light_col = {144809.859f, 129443.617f, 127098.89f, 0.0f}; color += IntegrateScattering(sc.env.atmosphere, fvec4{0.0f, sc.env.atmosphere.viewpoint_height, 0.0f, 0.0f}, I, MAX_DIST, light_dir, 0.0f, light_col, sc.sky_transmittance_lut, diff --git a/internal/CoreSIMD.h b/internal/CoreSIMD.h index b84ce153..2990ec46 100644 --- a/internal/CoreSIMD.h +++ b/internal/CoreSIMD.h @@ -8170,7 +8170,7 @@ void Ray::NS::ShadeSky(const pass_settings_t &ps, float limit, Span 0.0f) { // Use fake lightsource (to light up the moon) const Ref::fvec4 light_dir = {0.0f, -1.0f, 0.0f, 0.0f}, - light_col = {144809.866891f, 129443.618266f, 127098.894121f, 0.0f}; + light_col = {144809.859f, 129443.617f, 127098.89f, 0.0f}; color += Ref::IntegrateScattering( sc.env.atmosphere, Ref::fvec4{0.0f, sc.env.atmosphere.viewpoint_height, 0.0f, 0.0f}, _I, MAX_DIST, diff --git a/internal/RendererGPU_kernels.h b/internal/RendererGPU_kernels.h index 102de77d..00f75af9 100644 --- a/internal/RendererGPU_kernels.h +++ b/internal/RendererGPU_kernels.h @@ -876,7 +876,7 @@ inline void Ray::NS::Renderer::kernel_ShadeSky(CommandBuffer cmd_buf, const pass } else if (sc_data.env.atmosphere.stars_brightness > 0.0f) { // Use fake lightsource (to light up the moon) const fvec4 light_dir = {0.0f, -1.0f, 0.0f, 0.0f}, - light_col = {144809.866891f, 129443.618266f, 127098.894121f, 0.0f}; + light_col = {144809.859f, 129443.617f, 127098.89f, 0.0f}; memcpy(uniform_params.light_dir, value_ptr(light_dir), 3 * sizeof(float)); uniform_params.light_dir[3] = 0.0f; diff --git a/internal/SceneCommon.cpp b/internal/SceneCommon.cpp index b2d2ed7d..06926c47 100644 --- a/internal/SceneCommon.cpp +++ b/internal/SceneCommon.cpp @@ -320,7 +320,7 @@ Ray::SceneCommon::CalcSkyEnvTexture(const atmosphere_params_t ¶ms, const int } else if (params.stars_brightness > 0.0f) { // Use fake lightsource (to light up the moon) const Ref::fvec4 light_dir = {0.0f, -1.0f, 0.0f, 0.0f}, - light_col = {144809.866891f, 129443.618266f, 127098.894121f, 0.0f}; + light_col = {144809.859f, 129443.617f, 127098.89f, 0.0f}; color += IntegrateScattering(params, Ref::fvec4{0.0f, params.viewpoint_height, 0.0f, 0.0f}, ray_dir, MAX_DIST, light_dir, 0.0f, light_col, sky_transmittance_lut_, diff --git a/internal/SceneGPU.h b/internal/SceneGPU.h index c74ff094..8f7bd144 100644 --- a/internal/SceneGPU.h +++ b/internal/SceneGPU.h @@ -1715,7 +1715,7 @@ inline std::vector Ray::NS::Scene::CalcSkyEnvTexture(const a } else if (env_.atmosphere.stars_brightness > 0.0f) { // Use fake lightsource (to light up the moon) const fvec4 light_dir = {0.0f, -1.0f, 0.0f, 0.0f}, - light_col = {144809.866891f, 129443.618266f, 127098.894121f, 0.0f}; + light_col = {144809.859f, 129443.617f, 127098.89f, 0.0f}; memcpy(uniform_params.light_dir, value_ptr(light_dir), 3 * sizeof(float)); uniform_params.light_dir[3] = 0.0f; diff --git a/tests/test_scene.cpp b/tests/test_scene.cpp index 5b8889df..3744f328 100644 --- a/tests/test_scene.cpp +++ b/tests/test_scene.cpp @@ -951,9 +951,9 @@ void setup_test_scene(ThreadPool &threads, Ray::SceneBase &scene, const int min_ sun_desc.direction[1] = -0.454519480f; sun_desc.direction[2] = -0.766044438f; - sun_desc.color[0] = 144809.866891f; - sun_desc.color[1] = 129443.618266f; - sun_desc.color[2] = 127098.894121f; + sun_desc.color[0] = 144809.859f; + sun_desc.color[1] = 129443.617f; + sun_desc.color[2] = 127098.890f; sun_desc.angle = 4.0f;