CRT Shader
This is a Godot 3 shader that simulates a CRT display, providing a retro look to your 2D games. It includes various adjustable parameters like curvature, vignette, scan lines, and chromatic aberration.
https://github.com/hiulit/Godot-3-2D-CRT-ShaderPreview Images


CRT Shader for Godot 3
This shader simulates the look of a classic CRT (Cathode Ray Tube) display within your Godot 3 projects, adding a retro aesthetic to your 2D games. It offers a variety of customizable parameters to fine-tune the effect and achieve the desired visual style.
Key Features
- Curvature: Simulate screen curvature with adjustable X and Y amounts.
- Vignette: Add a vignette effect to darken the corners of the screen.
- Scan Lines: Implement both horizontal and vertical scan lines with customizable amount and opacity.
- Chromatic Aberration: Introduce chromatic aberration for a more authentic CRT look.
- Adjustable Brightness: Control the overall brightness with a boost parameter.
Usage
To use this shader, create a CanvasLayer, add a ColorRect node, and assign the provided crt_material.tres
to the ColorRect's material property. The shader parameters can then be adjusted in the Inspector panel to customize the CRT effect.
Credits
The shader builds upon the work of knarkowicz (original shader code), CowThing (distortion improvements), uheartbeast (chromatic aberration tutorial), Miltage (scan line opacity fix), and Tom (Let's GameDev) (scan lines implementation).