Cocos Creator 3.8 Post-Process Shader Writing (2/2) Advanced
Cocos
AUGUST 16, 2023
Simply put, Gaussian blur takes every pixel on an image and processes it with the following process. To put it bluntly, it’s a simple weighted sum: while sampling the target pixel, sample some of the surrounding pixels and give each pixel a weight (the sum of the weights is 1.0). setPassInput(input, 'outputResultMap').addRasterView('GaussianBlurMap_TMP',
Let's personalize your content