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:
WoMspace
2023-01-16 04:42:52 +00:00
parent ad0aae6a29
commit 539dafc8d2
7 changed files with 76 additions and 32 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);
}