mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2024-12-23 01:59:39 +08:00
undo that
This commit is contained in:
parent
dab6ca1dd0
commit
234b55070a
@ -77,7 +77,7 @@ vec4 GetVolumetricFog(
|
|||||||
float Density = cloudVol(progressW) * pow(exp(max(progressW.y-65,0.0) / -15),2);
|
float Density = cloudVol(progressW) * pow(exp(max(progressW.y-65,0.0) / -15),2);
|
||||||
float fireLight = cloudVol(progressW - vec3(0,1,0));
|
float fireLight = cloudVol(progressW - vec3(0,1,0));
|
||||||
|
|
||||||
vec3 vL0 = vec3(1.0,0.4,0.2) * exp(fireLight * -25) * pow(exp(max(progressW.y-30,0.0) / -15),2) * 25;
|
vec3 vL0 = vec3(1.0,0.4,0.2) * exp(fireLight * -25) * exp(max(progressW.y-30,0.0) / -10) * 25;
|
||||||
vL0 += vec3(0.8,0.8,1.0) * (1.0 - exp(Density * -1)) / 10 ;
|
vL0 += vec3(0.8,0.8,1.0) * (1.0 - exp(Density * -1)) / 10 ;
|
||||||
|
|
||||||
// do background fog lighting
|
// do background fog lighting
|
||||||
|
Loading…
Reference in New Issue
Block a user