cats-oss / android-gpuimage

Android filters based on OpenGL (idea from GPUImage for iOS)
8.95k stars 2.26k forks source link

GPUImageGaussianBlurFilter.java is wrong? #550

Open HowQuitVim opened 5 months ago

HowQuitVim commented 5 months ago

https://github.com/cats-oss/android-gpuimage/blob/master/library/src/main/java/jp/co/cyberagent/android/gpuimage/filter/GPUImageGaussianBlurFilter.java

44th line,is it wrong with texelHeightOffset and texelWidthOffset? may be it should be vec2 singleStepOffset = vec2(texelWidthOffset, texelHeightOffset );