mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-02-24 04:31:11 +03:00
Merge pull request #308 from Wikot235/Fix-BlurFilterY-uses-width-instead-of-height
Fixed BlurFilterY uses width instead of height
This commit is contained in:
commit
e3ca25a9fc
@ -85,7 +85,7 @@ BEGIN_VS_SHADER_FLAGS( BlurFilterY, "Help for BlurFilterY", SHADER_NOT_EDITABLE
|
|||||||
|
|
||||||
// The temp buffer is 1/4 back buffer size
|
// The temp buffer is 1/4 back buffer size
|
||||||
ITexture *src_texture = params[BASETEXTURE]->GetTextureValue();
|
ITexture *src_texture = params[BASETEXTURE]->GetTextureValue();
|
||||||
int height = src_texture->GetActualWidth();
|
int height = src_texture->GetActualHeight();
|
||||||
float dY = 1.0f / height;
|
float dY = 1.0f / height;
|
||||||
// dY *= 0.4;
|
// dY *= 0.4;
|
||||||
float v[4];
|
float v[4];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user