Log inGet started
Package

GalleryResolution.component

Newest version

README.md

GalleryResolution

Keeps the gallery smooth on large, dense screens. While playing it caps the scene at maxMegapixels million pixels (3.7, about 2560x1440), then every two seconds steps the render scale down by 15% while the frame rate is under slowFps (50) and back up by 10% while it is over fastFps (70), never below minScale (0.4). The scene is upscaled before the UI is drawn (reconstruct mode), so labels and buttons stay at full resolution. In edit mode, or with adapt off, it hands the scale back to the device's quality tier.

Attach it to any entity in the scene (the world puts it on Swatchbook); it needs no sibling components. ConnectionBadge shows the scale in force. It belongs to this world only and is not part of the metalsMaterials package.