Skip to reading
Shaders, Effects & Layered Scenery

50. What parallax actually needs

Edition 0.86.4.0

Revised 0.86.4.0 edition with new supplements; earlier 0.86.3.4 lessons and screenshot labels are retained within the supplied PDF.

Download PDFView PDF page

Parallax is relative movement between layers. A distant skyline seems to move slowly as you walk; a nearby railing moves faster. In an adventure scene you can suggest that depth with separately painted images and different scrolling factors.

Source table from 50. What parallax actually needs, page 54
RequirementWhy it matters
A moving cameraNo camera movement means no camera-driven parallax. Moving the mouse alone does not demonstrate it.
Separate images or cutoutsOne flattened background cannot move its painted trees independently from its sky.
Enough spare artworkScrolling can reveal an edge if a layer is only as wide as the initial view.
A chosen stacking orderOpaque artwork in front can hide the layers behind it.
Different factorsIf all layers use the same factor, they move together and do not suggest separate depths.

Current 2D and 2.5D Stage rooms use world-space planes across X/Z with a locked orthographic camera. A full 3D room already has perspective parallax from real geometry; screen overlays can add a separate decorative camera-driven layer.

Parallax does not extend navigation, resize an event volume or change the player’s collider. The camera bounds, image dimensions and walkable area remain separate settings.

Page 54 of 93Permalink
Go to page