feat(debug-ui): add rendering controls panel #970
No reviewers
Labels
No labels
Context: Bug
Context: Enhancements
Platform: Android
Platform: Linux
Platform: Web
Platform: Windows
Platform: iOS
Platform: macOS
Release
Target: CI
Target: CLI
Target: Dependency
Target: Engine
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
SakulFlee/Orbital!970
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/rendering-debug-panel"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds a Rendering debug panel with live controls, and wires the debug UI into every example.
Runtime renderer settings
RenderSettingsECS resource withanti_aliasingandsmaa_quality.ModuleRuntimeinitializes it fromAppSettingsand applies it before every redraw, so AA can change without restarting or recreating the renderer.AppSettingsremains the startup configuration.Rendering panel
VolumetricSettingsresource and creates defaults when the app has not inserted it yet.Examples
DebugUiModuleto all examples: 2D, all-in-one, billboards, custom_shader, many_lights, minimal, orthographic, transparency, volumetrics.all-in-oneHUD now reads the live projection, AA and volumetrics settings instead of hardcoded text.Oprojection shortcut and the new dropdown both use the active camera's real projection mode, so they stay in sync.Notes
ambient_colorplus punctual/directional lights. It does not sample the sky/environment/IBL yet. That is tracked as a separate volumetrics improvement so the settings can be tuned first.Validation
cargo test --workspace --no-fail-fastpasses.cargo check --workspacewith the workspace clippy driver and-D warningspasses.rustfmt --checkpasses for allCrates/andExamples/Rust sources.Related: #969.
Smart test results
Result: PASS
Scope: full workspace
Reason: workspace-level change: Cargo.lock
Elapsed: 17m 23s
Workflow run
Overall: 482 tests, 472 passed, 0 failed, 10 skipped
Nextest: 471 tests, 471 passed, 0 failed, 0 skipped
Doctests: 11 tests, 1 passed, 0 failed, 10 skipped
Outcome charts are split between nextest and doctests. The timing chart covers nextest only.