Screen Freeze Shader (Godot 4)
Fancy a little "screen freeze" shader for your next Godot game? With this simple GLSL shader, you'll be able to easily setup and configure an icy post-processing effect on your scene!
The shader uses a greyscale reference "freeze texture" (you'll get one ready-to-use in the pack) to get a more interesting effect, and it comes with many options - you can set the strength of the effect, how covering it should be, what central radius should be left untouched, how cracks are added on top of the base noise, what colours are used, and more :)
To use it in a Godot project:
- Add a ColorRect node on top of everything in your scene (= at the lowest position in the hierarchy).
- Give it a new ShaderMaterial.
- Drop the freeze.gdshader resource in the Shader slot of this new material.
- Play around with the options!
The pack contains the following assets:
- freeze.gdshader: The main freeze screen effect shader.
- noises.gdshaderinc: Procedural math noise functions used by the freeze.gdshader.
- utils.gdshaderinc: Utility functions used by the noises.gdshaderinc and the freeze.gdshader.
- An example freeze.png to use in the Freeze Texture slot of the shader.
đ This asset is under the CC-BY license, meaning you can use it in all of your projects (even commercial ones) as long as you credit me.
â ïžÂ The demo assets shown in the demo are made by Kenney, but they are NOT included in the pack!
A simple post-processing "screen freeze" Godot 4 shader