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:
Blixibon 2025-01-04 08:44:19 -06:00 committed by GitHub
commit e3ca25a9fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,7 +85,7 @@ BEGIN_VS_SHADER_FLAGS( BlurFilterY, "Help for BlurFilterY", SHADER_NOT_EDITABLE
// The temp buffer is 1/4 back buffer size
ITexture *src_texture = params[BASETEXTURE]->GetTextureValue();
int height = src_texture->GetActualWidth();
int height = src_texture->GetActualHeight();
float dY = 1.0f / height;
// dY *= 0.4;
float v[4];