Cocos Creator 3.8 Post-Process Shader Writing (2/2) Advanced
Cocos
AUGUST 16, 2023
If we want to support more complex Shaders, such as Blur, Depth of Field, and other effects, we need to work with the code to build it. Simply put, Gaussian blur takes every pixel on an image and processes it with the following process. Final pixel value = sum of all (pixels * weights). name : the effect’s name.
Let's personalize your content