GetAssetPack

Rain on Glass Shader for Godot

Price
$4.99
Type
Sprites
Creator
Francisco Cidade
Dimensions
2D

Fogged window with sliding drops, wet trails and refraction. 2D shader for Godot 4.

Available on

Search by image

Upload a reference to find previews with similar colors, contrast, and detail.

Rain on Glass Shader for Godot

No preview
Francisco Cidade · itch.io$4.99
2D
Sprites
License not indexed
  • i Check the terms on the original listing.
Show full terms

Fogged window with sliding drops, wet trails and refraction. 2D shader for Godot 4.

View original listing

Description

License: use it in any number of your own projects, commercial or not. Do not resell or redistribute the shader or the example project. Full text in LICENSE.txt inside the download.

A fogged window with raindrops that slide, leave wet trails and bend the scene behind them.

Show full description...

Godot 4.x (GL Compatibility, Mobile and Forward+). A CanvasItem shader: put it on a TextureRect, Sprite2D or ColorRect with a texture. Try it in your browser below, with sliders.

What you get

  • One CanvasItem shader, no textures needed
  • Example project with the original image next to the effect
  • Drop speed, fog, blur and refraction as parameters

Parameters

  • speed: Speed of the rain.
  • fog: How much the glass is fogged outside the drops.
  • fog_blur: Blur of the fogged glass, in pixels.
  • refraction: How strongly the drops bend the image.
  • fog_tint: Color the fog leans toward.

How to use

  • Copy shaders/rain_glass.gdshader into your project.
  • Create a ShaderMaterial on your node and assign the shader.
  • Tweak the parameters in the Inspector, or set them from code with set_shader_parameter.

Put it on a ColorRect over your scene, or on a TextureRect with a background. Good for: rainy cutscenes, noir menus, lo-fi backgrounds, car and train windows.

The example project opens in Godot 4.6 and shows the original image next to the effect.

More from me

Tags

2DatmosphereGodotgodot-shaderRainscreen-effectShadersVisual Effects (VFX)Weatherwindow

Downloads