mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-22 00:37:35 +08:00
Calibrate all Days settings for daily weather
This commit is contained in:
@ -126,6 +126,8 @@
|
||||
#endif
|
||||
|
||||
#ifdef Daily_Weather
|
||||
uniform float Uniform_Den;
|
||||
uniform float Cloudy_Den;
|
||||
|
||||
void DailyWeather_FogDensity(
|
||||
inout vec4 UniformDensity,
|
||||
@ -134,14 +136,10 @@
|
||||
|
||||
// set fog Profiles for each of the 8 days in the cycle.
|
||||
// U = uniform fog || C = cloudy fog
|
||||
vec4 MistyDay_U = vec4(5);
|
||||
// vec4( morning, noon, evening, night )
|
||||
|
||||
vec4 FoggyDay_U = vec4(5);
|
||||
vec4 FoggyDay_C = vec4(25);
|
||||
|
||||
|
||||
// UniformDensity += FoggyDay_U*day1 + MistyDay_U*day4;
|
||||
// CloudyDensity += FoggyDay_C*day1;
|
||||
UniformDensity.rgb += vec3(Uniform_Den);
|
||||
CloudyDensity.rgb += vec3(Cloudy_Den);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -299,7 +299,7 @@ const float shadowDistanceRenderMul = -1.0; //[-1.0 1.0] THIS WILL BREAK SUBSURF
|
||||
#define HQ_CLOUDS // Renders detailled clouds for viewport
|
||||
#define CLOUDS_QUALITY 0.5 //[0.1 0.125 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.9 1.0]
|
||||
|
||||
// #define Daily_Weather // different skies for different days, and fog.
|
||||
#define Daily_Weather // different skies and fog for different days.
|
||||
|
||||
#ifdef VOLUMETRIC_CLOUDS
|
||||
#define CLOUDS_SHADOWS // Casts shadows from clouds on the world
|
||||
|
Reference in New Issue
Block a user