Lens Rain
On this page
Rain on the lens: drops land, merge and run leaving beads behind, with refraction, glints, defocus, condensation and wind (custom drop texture optional).
| Studio category | Games |
|---|---|
| Pipeline stage | Post Colour (display colour, after the colour nodes) |
| Default position | 18 in its stage, shares a pass with the GameOverlays group |
| Works in | Live views and Image mode |
| C++ / Blueprint | FGradeLayer::Effects.LensRain (FGradeLensRain) |
Manual: Lens Rain. Every numeric parameter can be set at runtime with Set Layer Parameter using the path shown (see Animation).
Parameters
Rain drops and streaks on the lens with refraction.
| Parameter | Blueprint path | Values | Default | Description |
|---|---|---|---|---|
| Enabled | Effects.LensRain.Enabled | on/off | off | Turns the effect on. |
| Amount | Effects.LensRain.Amount | 0..100, keyable | 50 | Mix of the effect with the original image, 0..100. |
| Drop Size | Effects.LensRain.DropSize | 0.25..4 | 1 | Drop size multiplier. |
| Streaks | Effects.LensRain.Streaks | 0..100 | 40 | Running streaks, 0..100. |
| Refraction | Effects.LensRain.Refraction | 0..100 | 60 | Refraction strength, 0..100. |
| Fog | Effects.LensRain.Fog | 0..100 | 20 | Blur of the image seen through the wet lens, 0..100. |
| Speed | Effects.LensRain.Speed | 0..100 | 40 | Animation speed, 0..100. |
| Drop Texture | texture | none | Optional drop image (grayscale: white = water, black = dry glass; tiling) for custom drop shapes; normals are derived from it. | |
| Condensation | Effects.LensRain.Condensation | 0..100 | 25 | Fine condensation / mist covering the lens between drops, 0..100. |
| Wind | Effects.LensRain.Wind | -60..60 | 0 | Wind direction of the running drops in degrees (0 = straight down). |
| Seed | Effects.LensRain.Seed | integer | 5 | Pattern variation. |
| Density | Effects.LensRain.Density | 0..100 | 50 | How many drops sit on the lens, 0..100. |
| Impacts | Effects.LensRain.Impacts | 0..100 | 40 | New drops hitting the lens (appear with a small splash, merge and grow until they run), 0..100. |
| Trail Beads | Effects.LensRain.TrailBeads | 0..100 | 50 | Running drops leave beads of tiny droplets behind them, 0..100. |
| Highlights | Effects.LensRain.Highlights | 0..100 | 40 | Specular glints on the drops, 0..100. |
| Defocus | Effects.LensRain.Defocus | 0..100 | 20 | Drops are out of focus (soft, defocused lens water) .. crisp, 0..100 (0 = crisp). |
Shape
| Parameter | Blueprint path | Values | Default | Description |
|---|---|---|---|---|
| Stretch | Effects.LensRain.Stretch | 0..100, keyable | 30 | Stretch the drops along the way they slide (teardrops, smeared streaks), 0..100. |
| Deform | Effects.LensRain.Deform | 0..100 | 40 | Irregular, wobbly drop outlines (flattened and merged drops instead of perfect circles), 0..100. |
| Size Variation | Effects.LensRain.SizeVariation | 0..100 | 50 | Spread of drop sizes (many tiny ones and a few large ones), 0..100. |
Motion
| Parameter | Blueprint path | Values | Default | Description |
|---|---|---|---|---|
| Camera Motion | Effects.LensRain.CameraMotion | 0..100, keyable | 50 | Drops react to the camera: turning pushes and smears them sideways, looking up / down stretches them, 0..100. |
| Gravity | Effects.LensRain.Gravity | 0..100 | 50 | How readily big drops run down the lens, 0..100. |
| Merging | Effects.LensRain.Merging | 0..100 | 30 | Neighbouring drops merge into bigger ones that then start to slide, 0..100. |
| Slide Angle | Effects.LensRain.SlideAngle | -90..90 | 0 | Sliding direction on the lens in degrees (0 = straight down; Wind adds on top). |
Look
| Parameter | Blueprint path | Values | Default | Description |
|---|---|---|---|---|
| Inverted Refraction | Effects.LensRain.InvertedRefraction | 0..100 | 60 | The image inside each drop is the flipped, shrunk scene, like a real drop acting as a lens, 0..100. |
| Edge Darkening | Effects.LensRain.EdgeDarkening | 0..100 | 40 | Dark refraction edge around each drop, 0..100. |
Generated from the GRADE C++ headers. Back to the reference index.