mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-22 00:37:35 +08:00
add cloud tallness settings for small/large cumulus clouds
This commit is contained in:
@ -375,7 +375,7 @@ vec4 GetVolumetricClouds(
|
||||
float totalAbsorbance = 1.0;
|
||||
vec4 cloudColor = vec4(color, totalAbsorbance);
|
||||
|
||||
float cloudheight = 100.0;
|
||||
float cloudheight = CloudLayer0_tallness;
|
||||
float minHeight = CloudLayer0_height;
|
||||
float maxHeight = cloudheight + minHeight;
|
||||
|
||||
@ -435,7 +435,7 @@ vec4 GetVolumetricClouds(
|
||||
vec4 largeCumulusClouds = cloudColor;
|
||||
|
||||
#ifdef CloudLayer1
|
||||
cloudheight = 200.0;
|
||||
cloudheight = CloudLayer1_tallness;
|
||||
minHeight = CloudLayer1_height;
|
||||
maxHeight = cloudheight + minHeight;
|
||||
|
||||
|
Reference in New Issue
Block a user