refraction TEST

TESSSSSSSSSSSSSSSSSSSSST
This commit is contained in:
Xonk
2023-05-09 19:08:34 -04:00
parent 82668ef211
commit 3b8cc5a19a
5 changed files with 84 additions and 112 deletions

View File

@ -201,40 +201,39 @@ screen = [Direct_Light] [World] [Ambient_light] [Fog] [Post_Processing] [Clouds]
screen.Advanced = Dirt_Scatter_R Dirt_Scatter_G Dirt_Scatter_B Dirt_Absorb_R Dirt_Absorb_G Dirt_Absorb_B Water_Absorb_R Water_Absorb_G Water_Absorb_B
######## moonphase based weather
uniform.float.CumulusCoverage = smooth(1, if( \
moonPhase == 0, 0.3, \
moonPhase == 1, 0.8, \
moonPhase == 2, 0.2, \
moonPhase == 3, 0.0, \
moonPhase == 4, 0.8, \
moonPhase == 5, 0.5, \
moonPhase == 6, -0.5, \
0.6 ), 60, 60)
uniform.float.CirrusCoverage = smooth(2, if( \
moonPhase == 0, 0.5, \
moonPhase == 1, 0.65, \
moonPhase == 2, 0.6, \
moonPhase == 3, 0.0, \
moonPhase == 4, 0.5, \
moonPhase == 5, 0.5, \
moonPhase == 6, 0.6, \
0.5 ), 60, 60)
uniform.float.CirrusThickness = smooth(3, if( \
moonPhase == 0, 0.05, \
moonPhase == 1, 0.2, \
moonPhase == 2, 0.2, \
uniform.float.Cumulus_Cov = smooth( if( \
moonPhase == 0, 0.9, \
moonPhase == 1, 0.0, \
moonPhase == 2, 0.0, \
moonPhase == 3, 0.0, \
moonPhase == 4, 0.0, \
moonPhase == 5, 0.05, \
moonPhase == 6, 0.2, \
0.1 ), 60, 60)
moonPhase == 5, 0.0, \
moonPhase == 6, 0.0, \
0.0 ), 5, 5)
uniform.float.Alto_Cov = smooth( if( \
moonPhase == 0, 1.0, \
moonPhase == 1, 0.0, \
moonPhase == 2, 0.0, \
moonPhase == 3, 0.0, \
moonPhase == 4, 0.0, \
moonPhase == 5, 0.0, \
moonPhase == 6, 0.0, \
0.0 ), 5, 5)
uniform.float.Alto_Den = smooth( if( \
moonPhase == 0, 0.1, \
moonPhase == 1, 0.0, \
moonPhase == 2, 0.0, \
moonPhase == 3, 0.0, \
moonPhase == 4, 0.0, \
moonPhase == 5, 0.0, \
moonPhase == 6, 0.0, \
0.0 ), 5, 5)
uniform.float.Day = smooth(4, if( \
uniform.float.Day = smooth( if( \
moonPhase == 0, 1, \
moonPhase == 1, 2, \
moonPhase == 2, 3, \