Ghost World
On this page
Ghost World ("Beyond the Veil") lays a spirit realm over the scene: the world drained of colour and tinted with the light of the other side, wavering in slow curling currents, ethereal mist in the distance, spectral outlines, floating motes, a heartbeat, glowing spirits only visible on this side, and screen transitions to cross between the physical world and the ghost world.
| Studio category | Gameplay (Add Effect > Gameplay > Ghost World) |
|---|---|
| Pipeline stage | Post Colour, right after Supernatural (display colour) |
| Works in | Live views (viewports, PIE, games, Movie Render Queue) and Image mode; the scene depth adds features in live views |
| C++ / Blueprint | FGradeLayer::Effects.GhostWorld (FGradeGhostWorld), paths Effects.GhostWorld.<Field> |
| Reference | Ghost World parameters |
Two controls: Intensity and Transition Progress
- Intensity (0..100, keyable) is how strong the ghost world look is: 100 = fully in it.
- Transition Progress (panel: Ghost world (progress), shown as 0..100 %; the property is 0..1, keyable) is where the switch stands: 0 = the physical world, 1 = the ghost world; in between, the chosen transition plays.
A new Ghost World effect starts at progress 1 (you see the ghost world at once while you design it). For gameplay, set it to 0 in your level's look and let the Blueprint nodes (or a cinematic, see below) cross over.
Transitions
| Transition | What you see | Start point |
|---|---|---|
| Fade | A cross fade with a spectral flash half way (Front glow) | - |
| Ripple (default) | A shockwave ring with refraction spreads and leaves the ghost world inside it | Start X / Y, or the anchor actor on screen |
| Noise Dissolve | The world burns away through noise with a glowing edge | - |
| Depth Sweep | A wave travels outward through the world by distance: near things switch first, far things and the sky last | Outward from the camera, or as a sphere around the anchor actor; without depth: a ring from Start X / Y |
| Radial Wipe | A clock wipe around a point | Start X / Y, or the anchor actor on screen |
| Vertical Wipe | A wipe from top to bottom | - |
| Glitch | Digital tearing and flicker | - |
Transition settings (group Transition):
| Setting | Meaning |
|---|---|
| Duration | Seconds of a whole switch for the Preview button and for the Blueprint nodes called with a negative Duration (default 1.5) |
| Front width, Front glow, Front colour | The glowing border between the two worlds |
| Front refraction | The image bends along the front (the shockwave of Ripple, the heat of Noise Dissolve, the tearing of Glitch) |
| Pattern size | Size of the Noise Dissolve pattern and of the Glitch blocks |
| Sweep distance | Depth Sweep: distance in cm the wave has travelled when the switch ends (default 6000) |
| Start X / Start Y | Start point on screen (0,0 top left .. 1,1 bottom right) |
| Start from actor | An actor the switch spreads from (the player, a relic). Live views only; empty = Start X / Y |
Switching from Blueprint
Nodes of the Ghost World library (category GRADE > Ghost World):
| Node | What it does |
|---|---|
| Enter Ghost World (Volume, Transition = Ripple, Duration = -1) > Success | Crosses over into the ghost world with Transition |
| Exit Ghost World (same pins) > Success | Returns to the physical world; false when the volume has no Ghost World |
| Toggle Ghost World (same pins) > Entering | Enters when in the physical world (or on the way back to it), else exits; returns true when it now goes to the ghost world |
| Is In Ghost World (Volume) | True when the volume is in, or switching towards, the ghost world |
| Get Ghost World Progress (Volume) | Transition Progress, 0 physical .. 1 ghost (0 when the volume has no Ghost World) |
Advanced pins of Enter / Exit / Toggle: Anchor (an actor the switch spreads from: Ripple, Radial Wipe and Depth Sweep), Override Center + Center (a start point on screen instead; it also clears an older anchor).
How they work:
- Volume empty = the main volume (the enabled unbound volume with the highest priority). They act on the top-most enabled layer with Ghost World on. Enter switches Ghost World on in the top layer when no layer has it, starting from the physical world.
- Duration is seconds of game time for a whole switch (a negative value uses the layer's Duration). A switch reversed half way takes half the time; a new call replaces the running switch smoothly from where it is. 0 jumps at once.
- The switch runs in a small world subsystem: no Tick in your Blueprint. A paused game holds the switch; it also plays in editor worlds (Editor Utility previews).
- In a game or PIE, a volume that uses a preset gets its own copy of the layers first (the preset asset is never changed).
Example (step list): a "spirit sight" ability.
- In your level's look, add Ghost World and set Ghost world (progress) to 0.
- On the ability key, call Toggle Ghost World with Transition Depth Sweep, Duration 1.2 and Anchor = the player pawn: the ghost world spreads out from the player through the world.
- Use Is In Ghost World to enable the gameplay that only exists on the other side (and give spirit actors Render CustomDepth Pass, see below).
Sequencer: the layers live in an array that Sequencer cannot key directly. Key Preset Blend between your look at progress 0 and a copy saved as a GRADE Preset at progress 1 (same transition), or drive Effects.GhostWorld.TransitionProgress with Set Layer Parameter from a Blueprint float exposed to cinematics (see In Sequencer). The transition type is a setting of the layer.
Preview switch (editor)
The Transition group has a Preview switch button. It plays the selected node's switch in the viewport or the image: into the ghost world over Duration, a short hold, then back to the physical world, with the node's transition and settings. Transition Progress is put back afterwards; there is no undo step and nothing is saved. Click again (Stop) to stop; it also stops when you change node, volume or mode, or edit something. Editor viewports must be Realtime to animate.
The look of the ghost world
| Group | Settings |
|---|---|
| Look | Ghost colour and Tint, Desaturation (default 75), Shadows / Highlights colours and Split tone, Darkness, Ethereal glow (a soft tinted bloom that lifts the shadows like light through a veil), Vignette, Chromatic split |
| Distortion | Strength, Scale, Speed (0 = frozen): flowing, curling currents rising like smoke. More with distance: with depth, near things stay readable and the far world wavers |
| Mist & Edges | Mist, Mist colour, Half density at (cm), Wisps (0 = smooth fog); Spectral outlines, Outline colour, Outline width |
| Particles | Motes (floating motes of light drifting upwards), Mote size, Mote colour; Heartbeat (vignette, outlines and a slight pull throb with a double beat) and Beats per minute; Spirit glow and Spirit colour |
| Advanced | Afterimages (moving things leave fading ghost copies, live views only), Spirit stencil |
Spirits (Custom Depth)
Actors with Render CustomDepth Pass on glow in Spirit colour, but only in the ghost world: on the physical side they look as usual. Requirements:
- Project Settings > Rendering > Custom Depth-Stencil Pass: Enabled, or Enabled with Stencil to pick one group.
- On the spirit's meshes, Render CustomDepth Pass on (and a CustomDepth Stencil Value to filter by Spirit stencil; 0 = every actor with Custom Depth).
See also Custom Depth setup.
Live views and Image mode
| Feature | Live views | Image mode and stills |
|---|---|---|
| Mist | Fills the distance from the scene depth | A faint drifting veil |
| Distortion | Grows with distance (More with distance) | Even over the frame |
| Spectral outlines | Depth and surface creases | Brightness edges |
| Depth Sweep | Travels through the world (or around the anchor) | A ring from Start X / Y |
| Start from actor | Yes | No |
| Afterimages | Yes (per-view history) | No |
| Spirits | Yes (Custom Depth) | No |
Cost and memory
Estimated GPU time at 1080p on a mid-range GPU (not measured on your hardware; events GRADE.GhostWorld*): Low about 0.35 ms, Medium 0.5 ms, High 0.6 ms, Epic 0.8 ms, plus about 0.1 ms with spirits. While Afterimages is above 0, each live view keeps one RGBA16F history frame (16 MB at 1080p), recreated on a size change and released when the view stops rendering.
Looks
Four looks in the Worlds group:
| Look | Character | Transition |
|---|---|---|
| Beyond the Veil | Cold cyan, slow rising currents, mist, glowing outlines, motes, a faint heartbeat | Ripple |
| Spectral Realm | A green-teal soul realm, almost no colour, strong currents, thick wisps, bright spirit outlines | Noise Dissolve |
| Wraith Sight | Dark violet night world, hot magenta spirits, sharp outlines, afterimages, a racing heartbeat | Depth Sweep |
| Limbo | A pale bleached limbo, warm white veil of glow and mist, golden motes, barely any distortion | Fade |
Ghost World is independent from the older Supernatural spirit world (one kept hue, portal, aura, upside down), which is still available: see Game Effects.