Skip to content

graphics: reflections with HDRP's step limits, benchmark settings - #37

Merged
freezy merged 2 commits into
masterfrom
feat/benchmark-support
Nov 14, 2026
Merged

freezy merged 2 commits into
masterfrom
feat/benchmark-support

Conversation

@freezy

@freezy freezy commented Nov 14, 2026

Copy link
Copy Markdown
Member

Cheaper screen-space reflections, and more detail on what a benchmark step rendered with.

Reflections with HDRP's step limits

The reflection feature's rays took up to 256 steps at High, 128 at Medium and 64 at Low, and most rays use all of them. On an RTX 2080 Ti at 1440p the benchmark measured 3.8 ms, 2.2 ms and 1.3 ms, while only 0.4% of the picture differed between the longest and the shortest. HDRP, whose tracing this is, uses 64, 32 and 16 steps. The limits are now those, forced for every quality, so at High the volume's own value no longer applies.

Benchmark

What a benchmark step says it rendered with also names:

  • the renderers' rendering path;
  • the reflection's step limit;
  • the size and blur the ambient occlusion works with;
  • whether the occlusion is applied in the lighting or after the opaques. In the lighting it needs the scene's normals ahead of the G-buffer, which draws the scene twice.

Depends on

VisualPinball.Engine feat/player-support (freezy/VisualPinball.Engine#626), whose high reflection quality description matches this.

The reflection feature's rays took up to 256 steps at High, 128 at Medium and 64 at Low, and most rays take all of them: on an RTX 2080 Ti at 1440p the benchmark measured 3.8 ms, 2.2 ms and 1.3 ms, while 0.4 % of the picture differed between the longest and the shortest. HDRP, whose tracing this is, steps 64, 32 and 16 times. The limits are now those, forced for every quality: at High the volume's own value no longer applies.

What a benchmark step says it rendered with also names the renderers' rendering path, the reflection's step limit, and the size and blur the ambient occlusion works with.
What a benchmark step rendered with also says whether the occlusion is applied in the lighting or after the opaques: in the lighting it needs the scene's normals ahead of the G-buffer, which draws the scene twice.
@freezy
freezy merged commit 9725b36 into master Nov 14, 2026
4 checks passed
@freezy
freezy deleted the feat/benchmark-support branch November 14, 2026 17:20
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