
How to Use
-
Requirements
-
Import & Setup
-
Import the package into your URP project.
-
Create a new Material and set its shader to:
Shader → dev505 → RainyWindow.
-
Assign this material to any window mesh.
-
Make sure that on camera, Opaque Texture is On

-
Main Controls (Material Properties)
- Base Color – Tint and overall brightness of the wet glass.
- Droplet Tiling (_Size) – How dense/large the droplets are.
- Time Offset (_T) – Offsets animation time (useful for multiple windows so they don’t sync).
- Distortion Strength (_Distortion) – How much the drops warp the background.
- Blur Radius (_Blur) – Strength of radial blur behind the droplets.
- Rain Intensity (_Intensity) – Amount of visible drops (0 = none, 1 = heavy rain).
- Drop Aspect (X, Y) (_Aspect) – Shape/stretch of droplets (e.g., wider or taller).
- Blur Samples (_BlurQuality) – Quality vs performance (8–128 samples).
- Render Sides (_CullMode) – Choose to render both sides, front or back only (useful in case you need to render only one side).
-
Performance Tips
- Lower Blur Samples and Blur Radius on low-end hardware.
- Use smaller Droplet Tiling values for distant windows to keep the pattern readable.
That’s it: add the material to your glass, tweak parameters, and you get Rainy Window.