[Share] 2D Post-Processing & Lighting Framework
Cocos
DECEMBER 25, 2023
The most commonly used method involves rendering the camera to a RenderTexture (RT) and then displaying it on a Sprite. Add a Post-Processing Shader precision highp float; #include <pp-shared-ubos> in vec2 v_uv; uniform sampler2D mainTexture; #pragma define intensity matParams.x
Let's personalize your content