diff options
author | Dave Parks <davep@lindenlab.com> | 2011-11-04 17:27:33 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-11-04 17:27:33 -0500 |
commit | 0a43fdd07e3b084ce230086c032ccef79f1df429 (patch) | |
tree | dd10d2c6a14c470d11fd9ec6ef0cfff9fc418b7b /indra/newview/app_settings/shaders/class1 | |
parent | 367d6212ae9e18c398c25fe9e11646bfc801fd90 (diff) |
SH-2652 Even faster DoF -- also fix for screen going black when DoF enabled but shadows are not.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/postDeferredF.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/postDeferredF.glsl b/indra/newview/app_settings/shaders/class1/deferred/postDeferredF.glsl index 629648ddc3..bf029d1db5 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/postDeferredF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/postDeferredF.glsl @@ -73,7 +73,7 @@ void main() { while (sc > 0.5) { - int its = int(max(1.0,(sc*3.7))); + int its = int(max(1.0,(sc*3.7*0.5))); for (int i=0; i<its; ++i) { float ang = sc+i*2*PI/its; // sc is added for rotary perturbance @@ -82,7 +82,7 @@ void main() // you could test sample coords against an interesting non-circular aperture shape here, if desired. dofSample(diff, w, sc, vary_fragcoord.xy + vec2(samp_x,samp_y)); } - sc -= 1.0; + sc -= 2.0; } } |