diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-14 17:35:15 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-14 17:35:41 +0400 |
commit | 2d6458c64ca10745581ab45772b171e37cfa0ff3 (patch) | |
tree | 52aa667b322f5e8e9124a749e52849f5299b8263 /source/blender/compositor/operations | |
parent | 383bd34111b8d915ac4e646f26b3170b7705b023 (diff) |
Fix T42064: Directional blur uses wrong sampler
Now use linear one, nearest is far too doggy.
Diffstat (limited to 'source/blender/compositor/operations')
-rw-r--r-- | source/blender/compositor/operations/COM_DirectionalBlurOperation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_DirectionalBlurOperation.cpp b/source/blender/compositor/operations/COM_DirectionalBlurOperation.cpp index 67f52934b13..3f5d4131660 100644 --- a/source/blender/compositor/operations/COM_DirectionalBlurOperation.cpp +++ b/source/blender/compositor/operations/COM_DirectionalBlurOperation.cpp @@ -71,7 +71,7 @@ void DirectionalBlurOperation::executePixel(float output[4], int x, int y, void const int iterations = pow(2.0f, this->m_data->iter); float col[4] = {0, 0, 0, 0}; float col2[4] = {0, 0, 0, 0}; - this->m_inputProgram->readSampled(col2, x, y, COM_PS_NEAREST); + this->m_inputProgram->readSampled(col2, x, y, COM_PS_BILINEAR); float ltx = this->m_tx; float lty = this->m_ty; float lsc = this->m_sc; @@ -87,7 +87,7 @@ void DirectionalBlurOperation::executePixel(float output[4], int x, int y, void this->m_inputProgram->readSampled(col, cs * u + ss * v + this->m_center_x_pix, cs * v - ss * u + this->m_center_y_pix, - COM_PS_NEAREST); + COM_PS_BILINEAR); add_v4_v4(col2, col); |