Remove Debug Remove Scripting Remove Shaders Remove Writing
article thumbnail

[Share] 2D Post-Processing & Lighting Framework

Cocos

You just need the following resources and code: A post-processing shader A material with the shader bound to it A post-processing extension TypeScript file for passing parameters to the material Let’s use an example of creating a screen grayscale effect: 1. You can also drag the material into the module’s material slot in the editor.

Render 52
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. However, based on the BlitScreen solution, we can only write the simplest post-effect Shader. Today Kylin will use Gaussian blur to demonstrate how to write a multi-pass post-effect shader.

Shaders 98
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

Dev snapshot: Godot 4.0 beta 12

Mircosoft Game Dev

A couple fixes to the text resource loader which could impact notably reloading scripts ( GH-71170 ). Export: Fix missing "debug"/"release" export presets feature tags ( GH-71274 ). Rendering: Only disable depth writing in opaque pipelines ( GH-71124 ). Fix Tab key usage in the inspector ( GH-71271 ).

Beta 110
article thumbnail

Dev snapshot: Godot 4.0 beta 12

Mircosoft Game Dev

A couple fixes to the text resource loader which could impact notably reloading scripts ( GH-71170 ). Export: Fix missing “debug”/”release” export presets feature tags ( GH-71274 ). Rendering: Only disable depth writing in opaque pipelines ( GH-71124 ). Fix Tab key usage in the inspector ( GH-71271 ).

Beta 85
article thumbnail

Maintenance release: Godot 3.2.2

Mircosoft Game Dev

Exporting C# projects to iOS should be done from macOS using the classical workflow , and the scripts will be automatically compiled Ahead-of-Time (AOT) for iOS. The Android plugin documentation has been updated with instructions on how to write plugins for this new system. 2D: Add MODULATE builtin to canvas item shaders ( GH-38432 ).

Debug 52
article thumbnail

Godot 3.3 has arrived, with a focus on optimization and reliability

Mircosoft Game Dev

Raise errors when accessing deleted objects in debug. Raise errors when accessing deleted objects in debug. but going one step too far: in debug builds in 3.2.3, was still far away, so we tasked Joan Fons ( jfons ), as part of the GSoC program, to write a new CPU lightmapper for Godot 3.x. Rendering: Unified 2D batching.

article thumbnail

Dev snapshot: Godot 3.4 beta 6

Mircosoft Game Dev

C#: Fix reloading tool scripts in the editor ( GH-52883 ). Shaders: Add support for structs and fragment-to-light varyings ( GH-48075 ). C#: Fix reloading tool scripts in the editor ( GH-52883 ). Core: Complain if casting a freed object in a debug session ( GH-51095 ). Audio: Add Listener2D node ( GH-53429 ).

Beta 52