Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
shawn0326 committed Jul 5, 2016
1 parent 12158a2 commit 0795f9a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/egret/egret.web.js
Original file line number Diff line number Diff line change
Expand Up @@ -5690,7 +5690,7 @@ var egret;
'xw = 1.0 - abs(i - halfSamplingTimes) / halfSamplingTimes;',
'yw = 1.0 - abs(j - halfSamplingTimes) / halfSamplingTimes;',
'w = xw * xw + yw * yw;',
'curColor = texture2D(uSampler, vec2(vTextureCoord.x + curDistanceX - offsetX, vTextureCoord.y + curDistanceY - offsetY));',
'curColor = texture2D(uSampler, vec2(vTextureCoord.x + curDistanceX - offsetX, vTextureCoord.y + curDistanceY + offsetY));',
'totalAlpha += w * curColor.a;',
'maxTotalAlpha += w;',
'}',
Expand Down
Loading

0 comments on commit 0795f9a

Please sign in to comment.