Debanding Material Shader

This is a simple material shader for Godot 3.2.x that adds debanding noise to fix banding effects, specifically for the GLES2 renderer which lacks full-screen debanding support. It's designed to be easily integrated into existing projects by either using the provided ShaderMaterial or copy-pasting the debanding code.

https://github.com/fractilegames/godot-gles2-debanding-material

Preview Image

Preview

Debanding Material Shader for Godot GLES2

This shader provides a simple yet effective solution to address the issue of color banding, particularly noticeable in the GLES2 renderer of Godot Engine. Since GLES2 does not support full-screen debanding, this material shader adds a layer of noise to mitigate the banding artifacts.

Usage

To use the shader, simply copy the debandingmaterial.shader file into your Godot project. Create a new ShaderMaterial and load the shader file into it. This shader is essentially a SpatialMaterial converted to ShaderMaterial with unnecessary features removed and the debanding functionality added.

Integration

For users who prefer more control, the debanding portion of the shader can be easily copied and pasted into existing custom shaders. This allows for seamless integration with your current workflow and shader setup.

License and Origin

This shader is released under the MIT license, allowing for broad usage and modification. It was initially developed for the Polychoron game project.

Resource Details

tool

fractilegames



3.2.x