Skip to reading
Shaders, Effects & Layered Scenery

Appendix D. Overlay configuration reference

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

The global configuration is settings.screenOverlay. A room also has screenOverlay with overrideMode. These are separate from GUI image elements.

Code example
{
  "enabled":true,
  "assetId":"foreground_frame",
  "shaderMode":"none",
  "transitionAffectsOverlay":true,
  "parallaxEnabled":true,
  "parallaxAxes":"x",
  "parallaxStrength":1.0,
  "parallaxSmoothing":6.0,
  "shader":{"layers":[],"preset":"none"}
}
Source table from Appendix D. Overlay configuration reference, page 87
OptionAllowed meaning
shaderModenone, room or own.
parallaxAxesx, z or xz. Z progress drives vertical image travel.
parallaxStrength0-4; travel is limited to the available excess image.
parallaxSmoothingPositive response speed; higher catches up faster.
Room overrideModeinherit, disabled or custom.
Image resolutionExcess dimensions are required for travel at the resolved overlay design size.

The current overlay reads an image texture. Its camera-driven travel is continuous once built. Arbitrary configuration changes need the room presentation to rebuild; use a GUI when immediate scripted image swaps and independent animation are required.

Page 87 of 93Permalink
Go to page