Skip to content

Commit 433aa4e

Browse files
committed
AtmosphereScattering: Lower primary step count to 8
1 parent 1a68e90 commit 433aa4e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

include/CommonLib/AtmosphereScattering.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ namespace tsom
1616
{
1717
Nz::Vector3f sunDir = Nz::Vector3f(0.852868497f, 0.5f, 0.150383770f);
1818
Nz::Vector3f sunIntensity = Nz::Vector3f(40.f);
19-
Nz::Vector3f planetPosition = Nz::Vector3f::Zero();
2019
Nz::Vector3f planetDimensions = Nz::Vector3f(60.f);
2120
float planetCornerRadius = 16.f;
2221
float atmosphereMaxHeight = 192.f;
@@ -32,7 +31,7 @@ namespace tsom
3231
float heightAbsorption = 30.f;
3332
float absorptionFalloff = 3.5f;
3433

35-
Nz::Int32 primarySteps = 32;
34+
Nz::Int32 primarySteps = 8;
3635
Nz::Int32 lightSteps = 8;
3736
};
3837
}

0 commit comments

Comments
 (0)