mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-23 01:02:33 +08:00
more indirect light for clouds
and other minor tweaks
This commit is contained in:
@ -175,10 +175,10 @@ void main() {
|
||||
moonColorCloud = calculateAtmosphere(vec3(0.0), modSunVec, vec3(0.0,1.0,0.0), sunVec, -sunVec, planetSphere, skyAbsorb, 25,0.5);
|
||||
|
||||
moonColorCloud = moonColorBase/4000.0*0.55;
|
||||
#ifndef CLOUDS_SHADOWS
|
||||
sunColor *= (1.0-rainStrength*vec3(0.96,0.95,0.94));
|
||||
moonColor *= (1.0-rainStrength*vec3(0.96,0.95,0.94));
|
||||
#endif
|
||||
// #ifndef CLOUDS_SHADOWS
|
||||
// sunColor *= (1.0-rainStrength*vec3(0.96,0.95,0.94));
|
||||
// moonColor *= (1.0-rainStrength*vec3(0.96,0.95,0.94));
|
||||
// #endif
|
||||
lightSourceColor = sunVis >= 1e-5 ? sunColor * sunVis : moonColor * moonVis;
|
||||
|
||||
float lightDir = float( sunVis >= 1e-5)*2.0-1.0;
|
||||
|
Reference in New Issue
Block a user