Skip to content

graphics: shadow and reflection quality settings, and effects that are off no longer render - #36

Merged
freezy merged 1 commit into
masterfrom
feat/benchmark-support
Nov 13, 2026
Merged

freezy merged 1 commit into
masterfrom
feat/benchmark-support

Conversation

@freezy

@freezy freezy commented Nov 13, 2026

Copy link
Copy Markdown
Member

Implements the graphics settings added in freezy/VisualPinball.Engine#625, which this needs.

  • Bloom that is off no longer renders: it is overridden to intensity 0 instead of being left to the default profile, and a setting that is turned back on gets the volume's own values again.
  • Shadows can be off, low (one small cascade, hard edges) or high.
  • Reflection quality sets the ray steps of the screen-space reflections.
  • What the pipeline asset was set up with is restored on leaving play mode and before a script reload, since the asset is shared with the project.
  • The applier says which effects the active renderer has and what was resolved for a camera, which the player's benchmark records per step.

Tested: benchmark runs of a built URP player on Windows / D3D12, with frozen-frame screenshots compared per setting.

…e off no longer render

Bloom that is turned off is overridden to intensity 0 instead of leaving it to the default profile, and a setting that is turned back on gets the volume's own values again. Shadows can be off, low (one small cascade, hard edges) or high; reflection quality sets the ray steps of the screen-space reflections. What the pipeline asset was set up with is restored on leaving play mode and before a script reload. The applier also says which effects the active renderer has and what was resolved for a camera, for the player's benchmark.
@freezy
freezy merged commit 24e4946 into master Nov 13, 2026
4 checks passed
@freezy
freezy deleted the feat/benchmark-support branch November 13, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant