More jitter DOF stuff

blur sky, and improve DOF a tiny bit, add a focus strength slider and focal point indicator. also tweaked the clouds a little
This commit is contained in:
Xonk
2023-01-15 23:26:07 -05:00
parent a27670329a
commit 92943470f4
8 changed files with 1128 additions and 19 deletions

View File

@ -42,7 +42,7 @@ float StableStarField( in vec2 vSamplePos, float fThreshhold )
float stars(vec3 fragpos){
float elevation = clamp(fragpos.y,0.,1.);
vec2 uv = fragpos.xz/(1.5+elevation);
vec2 uv = fragpos.xz/(2.0+elevation);
return StableStarField(uv*1500.,0.999)*0.5*(0.3-0.3*rainStrength);
}