Skip to reading
Shaders, Effects & Layered Scenery

23. GUI shaders and world effects stay separate

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

A room screen stack normally affects the world image. The gameplay GUI remains clear above it. This is useful for heavy pixelation or fog: the player can still read dialogue and find the inventory controls.

1. Open GUI Designer and select the GUI or element you want to treat.

2. Use GUI Window for the whole authored window, or Element Shader for the selected control.

3. Choose one effect and test the whole control. A control shader can affect its text and artwork together.

4. Keep hover, clicked and background images configured in their normal Image controls. A shader does not replace those state assignments.

5. Use Preview for the control’s look; use Play for the complete room, GUI order and input behavior.

Source table from 23. GUI shaders and world effects stay separate, page 27
GoalSuggested choice
Clear text over a retro roomApply the retro effect to Scene Shaders; leave the GUI untreated.
A holographic device panelTreat the panel or its decorative image, while keeping small text readable.
A magical icon onlyUse the icon/element’s own shader rather than the whole HUD.
A temporary radial impactUse Zoom Blur; leave Include GUI in Effect off initially.
A frame that shares the room styleUse Screen Overlay → Overlay Shader Source → Use Current Room Shaders.

Screen overlays sit below gameplay GUIs and ignore mouse input. A GUI is the appropriate tool when the artwork needs buttons, interactions, independently animated controls or several separately controlled layers.

Page 27 of 93Permalink
Go to page