mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-22 00:37:35 +08:00
make puddles go away in places it shouldnt be
This commit is contained in:
@ -1062,8 +1062,17 @@ void main() {
|
||||
|
||||
#ifdef Seasons
|
||||
#ifdef Snowy_Winter
|
||||
vec3 snow_p3 = p3 + cameraPosition;
|
||||
float SnowPatches = densityAtPosSNOW(vec3(snow_p3.x,snow_p3.y/48.,snow_p3.z) *250);
|
||||
|
||||
vec3 snow_p3 = p3 + cameraPosition ;
|
||||
|
||||
snow_p3 /= 75.0;
|
||||
|
||||
float resolution = 1000.;
|
||||
snow_p3 = (fract(snow_p3 * resolution) / resolution) - snow_p3;
|
||||
|
||||
float SnowPatches = texture2D(noisetex, snow_p3.xz).r;
|
||||
// float SnowPatches = densityAtPosSNOW(snow_p3);
|
||||
|
||||
SnowPatches = 1.0 - clamp( exp(pow(SnowPatches,3.5) * -100.0) ,0,1);
|
||||
SnowPatches *= clamp(sqrt(normal.y),0,1) * clamp(pow(lightmap.y,25)*25,0,1);
|
||||
|
||||
|
Reference in New Issue
Block a user