Log inGet started
Package

gb_room_lighting.sceneSetup

Newest version

README.md

gb_room_lighting

The Game Boy room's scene-wide light. One member, gi: the engine's probe field (@builtin::systems.probeGI.probeGI), which traces rays from a grid of probes around the camera every frame and adds the bounced light they gather to every surface: the lamp's warm light off the walnut desk onto the console, the LCD's and power lamp's glow onto the surround, and the magenta of the buttons onto the shell.

Values are sized for the desk-top scene (a console 1.66 units tall): probes 0.3 apart in the finest of three cascades, 64 rays per probe, emitters boosted to 1.6 so the small LCD reads, rays capped at 30 units since the room is closed behind.

The RenderOptions component on the placement switches the member live from the person's "Ray-traced global illumination" setting (gi/@enabled).

taa — temporal antialiasing

The setup also carries the engine's temporal antialiasing (@builtin::systems.antiAliasing.taa). The scene's own post set (quickLighting PostProcessing) states no antialiasing, so without this member every frame was drawn at pixel centres: the avatar's camera-near dither fade, rug fringes, curtain pleats and the 2.5 mm plank joints showed as raw dot patterns that sparkled as the camera moved, most visibly in the dark. With it the dither resolves into a smooth fade and sub-pixel detail settles. Cost measured at about 0.3 ms GPU at 1920x1080.