article thumbnail

Cocos Creator 3.8 Post-Process Shader Writing (2/2) Advanced

Cocos

Preface In the last article , Kylin shared how to add your own post-effect Shader in the custom render pipeline in Cocos Creator 3.8. 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.

Shaders 98
article thumbnail

[Share] 2D Post-Processing & Lighting Framework

Cocos

Post-processing effects, are used for further processing of rendered results to achieve various advanced and special effects. Analysis of 2D Post-Processing Solutions Cocos Creator currently lacks built-in support for post-processing in the 2D render phase, requiring developers to explore various approaches to achieve the rendering goals.

Render 52
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Godot 3's renderer design explained

Mircosoft Game Dev

Godot uses a considerably different approach to rendering (and rendering abstraction) than other, popular, game engines. This document was written in hopes to find more developers that would like to help us write rendering code, as it explains the overall design. Running the whole graphics rendering in a separate thread.

Render 52
article thumbnail

The Best Tools to Improve Gameplay Performance

Nvidia

NVIDIA set out to redefine real-time rendering through AI-based super resolution — rendering a fraction of the original pixels and then using AI to reconstruct sharp, higher resolution images. This eliminates the GPU render queue and reduces CPU back pressure in GPU-bound scenarios.

article thumbnail

Cocos Shader Tutorial 1.0 - about UV

Cocos

The vertical axes of textures and picture pixels is shown above, when sampling textures in shaders, that is from top to bottom, which is top-right corner. This is consistent with how most image file formats store pixel data, and with how most graphics APIs work (including DirectX, Vulkan, Metal, WebGPU, but not OpenGL).

Shaders 98
article thumbnail

GLES2 and GDNative, progress report #7

Mircosoft Game Dev

depth rendering for shadow mapping. I will go more in-depth about shadow-mapping later, for now just know that in order to show shadows, the scene needs to be rendered from the perspective of each light and the result has to be saved. For the GLES2 renderer, I had to implement the interface for those shadow atlases.

Render 52
article thumbnail

Dev snapshot: Godot 4.0 alpha 16

Mircosoft Game Dev

Some noteworthy changes in this release: Re-enable support for Web exports using the OpenGL 3 / WebGL 2 renderer. Implement physical light units in Vulkan renderers. Re-enable per-pixel transparency support on Linux, macOS, and Windows. Navigation: Add debug visuals for GridMap cell edge connections ( GH-64173 ).

Alpha 52