 out vec3 fragColor;
 
 #define SAMPLES_COUNT 16
+#define SAMPLES_COUNT_INNER 8
 #define M_PI 3.14159265358979323846
 
 

		// Accumulate optical distances.
		rayleighDist += rayleighStep;
		mieDist += mieStep;
		// Compute associated attenuation.
		vec3 attenuation = exp(-(kMie * mieDist + kRayleigh * rayleighDist));
		// Accumulate scatterings.
		rayleighScatt += rayleighStep * attenuation;
		mieScatt += mieStep * attenuation;

const float groundRadius = 6371e3;
const float topRadius = 6471e3;
const float sunIntensity = 20.0;
const vec3 sunColor = vec3(1.474, 1.8504, 1.91198);
const vec3 kRayleigh = vec3(5.5e-6, 13.0e-6, 22.4e-6);
const float heightRayleigh = 8000.0;
const float heightMie = 1200.0;
