Add on-demand HZB preview to editor diagnostics
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
@@ -9,3 +9,13 @@ The implementation uses the prototype's compact three-mode visibility selector,
|
||||

|
||||
|
||||
The second image is the actual 640 × 420 test capture with a deliberately empty scene. It verifies the selected GPU frustum button and the real counters, with the panel scrolling on a small viewport.
|
||||
|
||||
## Current-HZB preview extension
|
||||
|
||||

|
||||
|
||||
The updated prototype was made with the built-in image editing tool before adding the preview control. Its HZB thumbnail and status values are illustrative. The actual overlay exposes **Show HZB** only as an on-demand diagnostic, offers a mip selector, and uses a real GPU depth-pyramid readback. It does not read back HZB while the preview is off.
|
||||
|
||||

|
||||
|
||||
This 640 × 700 capture is the real developer overlay drawing mip 3 of a cube scene's current HZB. The first frame has already completed, so the displayed visibility counters are actual GPU-read values. The default panel grows when the preview is enabled; on a shorter display it remains scrollable.
|
||||
|
||||
Reference in New Issue
Block a user