diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-03 06:15:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-03 06:15:49 +0400 |
commit | 0cd5dce245762b3fb3fd195dde3bd9ddaeb48970 (patch) | |
tree | 7e7f9033dababa306b7fa0265c7ef7e38dd7dc3e /source/gameengine/Rasterizer/RAS_OpenGLFilters/RAS_Blur2DFilter.h | |
parent | 8e3d1084b2a73aaa308ceda7a2e777e3d1990690 (diff) |
whitespace edits
Diffstat (limited to 'source/gameengine/Rasterizer/RAS_OpenGLFilters/RAS_Blur2DFilter.h')
-rw-r--r-- | source/gameengine/Rasterizer/RAS_OpenGLFilters/RAS_Blur2DFilter.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/gameengine/Rasterizer/RAS_OpenGLFilters/RAS_Blur2DFilter.h b/source/gameengine/Rasterizer/RAS_OpenGLFilters/RAS_Blur2DFilter.h index a277d9835d8..3a3ea57d67b 100644 --- a/source/gameengine/Rasterizer/RAS_OpenGLFilters/RAS_Blur2DFilter.h +++ b/source/gameengine/Rasterizer/RAS_OpenGLFilters/RAS_Blur2DFilter.h @@ -38,17 +38,17 @@ uniform vec2 bgl_TextureCoordinateOffset[9]; void main(void) { - vec4 sample[9]; + vec4 sample[9]; - for (int i = 0; i < 9; i++) - { - sample[i] = texture2D(bgl_RenderedTexture, - gl_TexCoord[0].st + bgl_TextureCoordinateOffset[i]); - } + for (int i = 0; i < 9; i++) + { + sample[i] = texture2D(bgl_RenderedTexture, + gl_TexCoord[0].st + bgl_TextureCoordinateOffset[i]); + } - gl_FragColor = (sample[0] + (2.0*sample[1]) + sample[2] + - (2.0*sample[3]) + sample[4] + (2.0*sample[5]) + - sample[6] + (2.0*sample[7]) + sample[8]) / 13.0; + gl_FragColor = (sample[0] + (2.0*sample[1]) + sample[2] + + (2.0*sample[3]) + sample[4] + (2.0*sample[5]) + + sample[6] + (2.0*sample[7]) + sample[8]) / 13.0; } ); #endif |