Skip to content

Commit 9c58439

Browse files
committed
Remove spookyball from main sample list and fix formatting of reverse-z sample description
1 parent ad7d067 commit 9c58439

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

sample/reversedZ/meta.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
export default {
22
name: 'Reversed Z',
33
description: `This example shows the use of reversed z technique for better utilization of depth buffer precision.
4-
The left column uses regular method, while the right one uses reversed z technique.
5-
Both are using depth32float as their depth buffer format. A set of red and green planes are positioned very close to each other.
6-
Higher sets are placed further from camera (and are scaled for better visual purpose).
7-
To use reversed z to render your scene, you will need depth store value to be 0.0, depth compare function to be greater,
8-
and remap depth range by multiplying an additional matrix to your projection matrix.
9-
Related reading:
10-
https://developer.nvidia.com/content/depth-precision-visualized
11-
https://web.archive.org/web/20220724174000/https://thxforthefish.com/posts/reverse_z/
4+
The left column uses regular method, while the right one uses reversed z technique.
5+
Both are using depth32float as their depth buffer format. A set of red and green planes are positioned very close to each other.
6+
Higher sets are placed further from camera (and are scaled for better visual purpose).
7+
To use reversed z to render your scene, you will need depth store value to be 0.0, depth compare function to be greater,
8+
and remap depth range by multiplying an additional matrix to your projection matrix.
9+
10+
Related reading:
11+
- https://developer.nvidia.com/content/depth-precision-visualized
12+
- https://web.archive.org/web/20220724174000/
13+
- https://thxforthefish.com/posts/reverse_z/
1214
`,
1315
filename: __DIRNAME__,
1416
sources: [

src/samples.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ export const pageCategories: PageCategory[] = [
8282
samplerParameters,
8383
reversedZ,
8484
renderBundles,
85-
spookyball,
8685
},
8786
},
8887

0 commit comments

Comments
 (0)