DocsGRADEReference

Underwater

7 min read

On this page

Full underwater look with a one-slider Auto depth (lagoon .. abyss): absorption, murky water, Gerstner surface waves, procedural or texture caustics, animated light shafts (sun or custom direction), drifting particles with bokeh, rising bubbles, a waterline and wavy refraction.

Studio categoryScene
Pipeline stageScene (scene-linear HDR, before the tonemapper)
Default position10 in its stage
Works inLive views only (viewports, PIE, games, Movie Render Queue): needs scene depth or the level
C++ / BlueprintFGradeLayer::Effects.Underwater (FGradeUnderwater)

Manual: Underwater. Every numeric parameter can be set at runtime with Set Layer Parameter using the path shown (see Animation).

Parameters

Underwater look: depth absorption (reds vanish first), caustics, wavy refraction and floating particles (scene effect).

ParameterBlueprint pathValuesDefaultDescription
EnabledEffects.Underwater.Enabledon/offoffTurns the effect on.
Water ColorEffects.Underwater.WaterColor.R/G/B/Acolour(0.05, 0.35, 0.45)Colour of the water filling in with distance.
VisibilityEffects.Underwater.Visibility>= 100 cm (slider to 50000)3000Visibility distance in cm (absorption scale).
CausticsEffects.Underwater.Caustics0..10040Projected light caustics, 0..100.
DistortionEffects.Underwater.Distortion0..163Wavy refraction in pixels (at 1080 lines).
ParticlesEffects.Underwater.Particles0..10025Floating particles (marine snow), 0..100.
SpeedEffects.Underwater.Speed0..10040Animation speed, 0..100.

Surface

ParameterBlueprint pathValuesDefaultDescription
ActivationEGradeUnderwaterActivationAlwaysWhen the look applies: always (e.g. inside a GRADE Volume placed in the water), or only while the camera is below Surface Height (one unbound volume for the whole level; the look fades in over Surface Blend).
Surface HeightEffects.Underwater.SurfaceHeightnumber cm0World Z of the water surface in cm. Drives depth below the surface (depth colour / darkening, caustic fade, light shafts), Below Surface activation and the waterline.
Surface BlendEffects.Underwater.SurfaceBlend0..500 cm20Below Surface activation without waterline: camera depth over which the look fades in (cm). With Waterline on, the per-pixel split does the transition.
WaterlineEffects.Underwater.Waterlineon/offonSplit the frame at the wavy water surface when the camera crosses it (half above, half below, with a meniscus line).
Wave HeightEffects.Underwater.WaveHeight0..100 cm8Height of the surface waves in cm (waterline wobble, caustic strength, surface light).
Surface LightEffects.Underwater.SurfaceLight0..10040Brightness and ripples of the surface seen from below / light coming from above when looking up (Snell's window), 0..100.
Surface WavesEffects.Underwater.SurfaceWaveson/offonAnimated surface waves (Gerstner) seen from below, on the waterline and in the caustics. Off = calm, flat surface.
Wave LengthEffects.Underwater.WaveLength>= 20 cm (slider to 5000)600Main wavelength of the surface waves in cm (several Gerstner waves are derived around it).
Wave SteepnessEffects.Underwater.WaveSteepness0..10045Sharp crests and wide troughs (100) .. round sine-like swell (0).
Wave DirectionEffects.Underwater.WaveDirection-180..180 deg30Direction the waves travel to, in degrees around world Z (0 = +X).
Wave SpeedEffects.Underwater.WaveSpeed0..10050Speed of the waves, 0..100 (50 = deep-water speed for the wavelength).
Window SkyEGradeUnderwaterSkyAutoWhat Snell's window shows (see the options).
Sky TexturetexturenoneEquirectangular (lat-long) sky for Snell's window (Window Sky = Sky Texture, and the fallback of Auto when set).
Sky ColorEffects.Underwater.SkyColor.R/G/B/Acolour(0.32, 0.55, 1)Zenith colour of the gradient sky (Auto tints it towards the sky seen on screen).
Window BrightnessEffects.Underwater.WindowBrightness0..200, keyable100Brightness of Snell's window, 0..200 %.
Window EdgeEffects.Underwater.WindowEdge0..10040Bright, slightly chromatic refraction ring at the edge of the window, 0..100.
ReflectionEffects.Underwater.Reflection0..10050Outside the window (total internal reflection): mirror of the water below instead of plain water colour, 0..100.
Surface From BelowEffects.Underwater.SurfaceFromBelowon/offonDraw the water surface seen from below (waves, Snell's window). Off = looking up the water just gets brighter.

Water

ParameterBlueprint pathValuesDefaultDescription
AbsorptionEffects.Underwater.Absorption0..10050How fast light loses its colours with view distance (reds first), 0..100 (50 = the Visibility based default).
TurbidityEffects.Underwater.Turbidity0..10020Suspended matter: milky scattering, softer far detail and lower contrast, 0..100.
Turbidity ColorEffects.Underwater.TurbidityColor.R/G/B/Acolour(0.35, 0.42, 0.3)Colour of the scattered light in murky water (sediment: green-brown lakes, grey harbours).

Depth

ParameterBlueprint pathValuesDefaultDescription
Depth DarkeningEffects.Underwater.DepthDarkening0..10050Darkening and colour loss with depth below the surface (the deep gets dark and blue), 0..100. Needs Surface Height.
Depth RangeEffects.Underwater.DepthRange>= 100 cm (slider to 20000)3000Depth below the surface where daylight is down to ~10 % (cm).
Deep ColorEffects.Underwater.DeepColor.R/G/B/Acolour(0.01, 0.06, 0.16)Colour the deep water turns to.

Caustics

ParameterBlueprint pathValuesDefaultDescription
Caustics TexturetexturenoneOptional caustics texture (grayscale, tiling; white = focused light). Two copies scroll across each other and the darker wins, like real caustics. Empty = procedural caustics.
Caustics ScaleEffects.Underwater.CausticsScale>= 10 cm (slider to 2000)250World size of one caustic pattern tile in cm.
Caustics SpeedEffects.Underwater.CausticsSpeed0..10050Caustic animation speed, 0..100 (relative to Speed).
Caustics SharpnessEffects.Underwater.CausticsSharpness0..10060Thin bright lines (100) .. soft wide blobs (0).
Caustics ChromaticEffects.Underwater.CausticsChromatic0..10025Rainbow split of the caustic lines (dispersion), 0..100.
Caustics ColorEffects.Underwater.CausticsColor.R/G/B/Acolour(1, 0.97, 0.88)Tint of the caustic light.
Caustics Follow SunEffects.Underwater.CausticsFollowSunon/offonProject the caustics along the sun direction (lit sides only) instead of straight down.
Caustics Depth FadeEffects.Underwater.CausticsDepthFade0..10050Caustics fade out with depth below the surface (deep floors get none), 0..100.

Light

ParameterBlueprint pathValuesDefaultDescription
Light ShaftsEffects.Underwater.LightShafts0..10035God rays from the surface (sunlight shafts through the water), 0..100.
Shaft WidthEffects.Underwater.ShaftWidth0..10040Width of the light shafts, 0..100 (thin .. wide curtains).
Shaft SpeedEffects.Underwater.ShaftSpeed0..10040Animation of the light shafts (sway with the surface waves, flicker), 0..100.
Shaft QualityEGradeEffectQualityAutoRay-march quality of the light shafts (Auto = Studio quality).
Custom Shaft DirectionEffects.Underwater.CustomShaftDirectionon/offoffOrient the shafts (and caustics) with Shaft Yaw / Shaft Pitch instead of the sun.
Shaft YawEffects.Underwater.ShaftYaw-180..180 deg0Custom light direction: compass angle the light comes from, degrees around world Z.
Shaft PitchEffects.Underwater.ShaftPitch10..90 deg70Custom light direction: elevation of the light above the horizon (90 = straight down), degrees.

Particles

ParameterBlueprint pathValuesDefaultDescription
Particle SizeEffects.Underwater.ParticleSize0..10035Size of the floating particles, 0..100.
Particle ColorEffects.Underwater.ParticleColor.R/G/B/Acolour(0.85, 0.95, 1)Colour of the particles (multiplied with the water light).
BubblesEffects.Underwater.Bubbles0..1000Bubbles rising towards the surface, 0..100.
Particle FocusEffects.Underwater.ParticleFocus0..10050Near particles go out of focus into soft bokeh discs, 0..100.
Particle DriftEffects.Underwater.ParticleDrift0..10040Organic drifting of the particles in the currents, 0..100.
Bubble SizeEffects.Underwater.BubbleSize0..10035Size of the bubbles (with a natural spread of sizes), 0..100.
Bubble StreamsEffects.Underwater.BubbleStreams0..10030Bubbles rise in streams from below (100) .. scattered (0).
Particle RangeEffects.Underwater.ParticleRange100..100001500Depth range in cm over which the floating particles are spread around the camera (3D parallax, hidden behind geometry).

Lens

ParameterBlueprint pathValuesDefaultDescription
Distortion ChromaticEffects.Underwater.DistortionChromatic0..10015Chromatic split of the refraction waves, 0..100.
Mask VignetteEffects.Underwater.MaskVignette0..1000Dark, blurred edges like a diving mask, 0..100.

Auto

ParameterBlueprint pathValuesDefaultDescription
Auto DepthEffects.Underwater.AutoDepthon/offoffOne-slider setup: Depth Level drives visibility, absorption, depth darkening, deep colour, caustics, light shafts and particles together (the individual sliders become offsets of the automatic values).
Depth LevelEffects.Underwater.DepthLevel0..100, keyable300 = shallow sunny lagoon .. 50 = open sea at 15 m .. 100 = deep, dark abyss.
Depth From CameraEffects.Underwater.DepthFromCameraon/offoffAuto Depth follows the camera's depth below Surface Height instead of the slider (DepthLevel then scales the range).

Waterline

ParameterBlueprint pathValuesDefaultDescription
Waterline DropletsEffects.Underwater.WaterlineDroplets0..10040Waterline: water drops and streaks on the lens where it crosses the surface, 0..100.
Waterline RefractionEffects.Underwater.WaterlineRefraction0..10050Waterline: refraction / magnification of the band where the lens crosses the water, 0..100.
ShorelineEffects.Underwater.Shorelineon/offonDraw the shoreline / waterline when the camera crosses the surface (meniscus, split frame, lens drops). Off = the frame switches cleanly between above and below.

Transition

ParameterBlueprint pathValuesDefaultDescription
Transition AnimationEffects.Underwater.TransitionAnimationon/offonTransition animation when the camera dives in or comes out (splash blur and bubbles going in; water sheeting and drops running off the lens coming out).
Transition DurationEffects.Underwater.TransitionDuration0.2..5 s1.5Length of the transition in seconds, 0.2..5.
Transition StrengthEffects.Underwater.TransitionStrength0..10070Strength of the transition, 0..100.
Exit StyleEGradeUnderwaterExitStyleSplash (reverse of going in)What plays when the camera comes out of the water: the going-in splash mirrored (default) or the water sheet and drops.

Enumerations

Underwater Activation (EGradeUnderwaterActivation)

ValueMeaning
AlwaysThe look is always on (use a GRADE Volume shaped like the water body for local water).
Below Surface HeightOnly while the camera is below Surface Height (with a waterline when it crosses the surface).

Effect Quality (EGradeEffectQuality)

Per-effect quality override. Auto follows grade.Quality (the Studio quality setting).

ValueMeaning
Auto-
Low-
Medium-
High-
Epic-

Underwater Sky (EGradeUnderwaterSky)

ValueMeaning
AutoThe scene above the water where the refracted ray is on screen, blended seamlessly into a sky gradient tinted from the sky pixels on screen (or the Sky Texture when set) everywhere else: Snell's window is always a circle, never the screen.
GradientA daylight gradient (Sky Color, sun glow) only.
Sky TextureThe equirectangular Sky Texture only.

Underwater Exit Style (EGradeUnderwaterExitStyle)

What plays when the camera comes out of the water.

ValueMeaning
Splash (reverse of going in)The same whitewater, bubbles, turbulence and blur as going in, mirrored: the foam drains downwards and the bubbles fall away.
Water Sheet & DropsA water sheet running down the lens and drops left behind.

Generated from the GRADE C++ headers. Back to the reference index.