H2: Graphics presets, OpenGL fallback notice, tested configurations
Presets now tune shadows, cascades, render scale and anti-aliasing: Low (no shadows, 75%, FXAA), Medium (200 m, 2 cascades, FXAA), High (400 m, 4 cascades, MSAA 2x). GameSettings.apply_to_viewport sets the viewport; MatchView.apply_settings sets the sun's cascades. No preset changes how far props or pieces are drawn, so a lower one never shows a player through cover; a test guards it. When Vulkan can't start, Godot falls back to OpenGL (fallback_to_opengl3) and RendererCheck has the main menu say so. tools/capture.sh gains CAPTURE_RENDERER=no_vulkan, which hides the Vulkan driver and expects the fallback. New scenarios quality_low/medium/high draw a match moment with each preset, reviewed in both renderers. docs/PLAY.md lists the presets, renderers, Wayland and hybrid-GPU notes, and the tested configurations, marking each as software-rendered only or not tested. Closes #55 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,6 +13,7 @@ continuity.
|
||||
- [docs/STYLE.md](docs/STYLE.md): the look and sound. Every client colour comes from `Palette`.
|
||||
- [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md): server-authoritative design and module map.
|
||||
- [src/sim/tuning.gd](src/sim/tuning.gd): the one table of gameplay numbers.
|
||||
- [docs/PLAY.md](docs/PLAY.md): graphics presets, renderers and the tested configurations.
|
||||
|
||||
## Commands
|
||||
|
||||
@@ -70,7 +71,9 @@ Run one group of tests with `tools/run_tests.sh --root=res://test/sim` or
|
||||
- **Open every capture and look at it** (the Read tool shows images). The harness only
|
||||
catches blank frames. A broken, ugly or misleading capture means the issue isn't done.
|
||||
- The default renderer is Forward+ through Mesa's Lavapipe, which matches the game.
|
||||
`CAPTURE_RENDERER=compatibility` uses OpenGL through llvmpipe. Colours differ between
|
||||
`CAPTURE_RENDERER=compatibility` uses OpenGL through llvmpipe, and
|
||||
`CAPTURE_RENDERER=no_vulkan` hides the Vulkan driver to check the game falls back to OpenGL (H2).
|
||||
The `quality_low`, `quality_medium` and `quality_high` scenarios draw a match moment with each preset. Colours differ between
|
||||
the two, so compare captures made with the same renderer.
|
||||
- Software rendering shows what is drawn, not how fast. Never report frame rates from it.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user