~ | Modified scene

This commit is contained in:
TheRedShip
2025-01-12 21:38:04 +01:00
parent a551347084
commit 0482f34ce5
9 changed files with 54 additions and 13 deletions

View File

@ -38,9 +38,9 @@ vec3 randomHemisphereDirection(vec3 normal, inout uint rng_state)
vec3 GetEnvironmentLight(Ray ray)
{
vec3 sun_pos = vec3(-0.5, 0.5, 0.5);
vec3 sun_pos = vec3(-1., 1.0, 0.);
float SunFocus = 1.5;
float SunIntensity = 1;
float SunIntensity = 0.5;
vec3 GroundColour = vec3(0.5, 0.5, 0.5);
vec3 SkyColourHorizon = vec3(135 / 255.0f, 206 / 255.0f, 235 / 255.0f);
@ -53,4 +53,4 @@ vec3 GetEnvironmentLight(Ray ray)
// Combine ground, sky, and sun
vec3 composite = mix(GroundColour, skyGradient, groundToSkyT) + sun * int(groundToSkyT >= 1);
return composite;
}
}