rooms
This module provides a collection of pre-baked room interiors, each represented by three texture atlases (color + occupancy, normals + transmission, and emission). These rooms are used by the `cityGen` module's `kitWindow` shader to create the illusion of interiors behind buildin…
rooms
This module provides a collection of pre-baked room interiors, each represented by three texture atlases (color + occupancy, normals + transmission, and emission). These rooms are used by the cityGen module's kitWindow shader to create the illusion of interiors behind building windows. Each room is categorized as either a "home" (for upper windows) or "shop" (for shopfronts). Game makers or programs can specify which rooms to use for different building types. The module exports a table where each key is a room name (e.g., parlour, shop) and its value is a table containing its kind and references to its volume, normals, and emission textures.
Scoped to this part · feeds back into the world's score.