Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 330 vs 331 for /trunk/assets/shaders/GLSL/FXAA.glsl

Diff revisions: vs.
  @@ -74,7 +74,9 @@
74 74 /*---------------------------------------------------------*/
75 75 float dirReduce = max((lumaNW + lumaNE + lumaSW + lumaSE) * (0.25 * dvd_fxaaReduceMul), dvd_fxaaReduceMin);
76 76 float rcpDirMin = 1.0/(min(abs(dir.x), abs(dir.y)) + dirReduce);
77 - dir = min(vec2( dvd_fxaaSpanMax, dvd_fxaaSpanMax), max(vec2(-dvd_fxaaSpanMax, -dvd_fxaaSpanMax), dir * rcpDirMin)) * dvd_invScreenDimension.xy;
77 + dir = min(vec2( dvd_fxaaSpanMax, dvd_fxaaSpanMax),
78 + max(vec2(-dvd_fxaaSpanMax, -dvd_fxaaSpanMax),
79 + dir * rcpDirMin)) * dvd_invScreenDimension.xy;
78 80 /*--------------------------------------------------------*/
79 81 vec3 rgbA = (1.0/2.0) * ( FxaaTexLod0(texScreen, _posPos.xy + dir * (1.0/3.0 - 0.5)).xyz +
80 82 FxaaTexLod0(texScreen, _posPos.xy + dir * (2.0/3.0 - 0.5)).xyz);