From 9c58439b0d2eb71ab8ad11f2a45bc34ba001963d Mon Sep 17 00:00:00 2001 From: Brandon Jones Date: Fri, 8 Mar 2024 14:01:55 -0800 Subject: [PATCH] Remove spookyball from main sample list and fix formatting of reverse-z sample description --- sample/reversedZ/meta.ts | 18 ++++++++++-------- src/samples.ts | 1 - 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/sample/reversedZ/meta.ts b/sample/reversedZ/meta.ts index ee749fb5..d9f84c1b 100644 --- a/sample/reversedZ/meta.ts +++ b/sample/reversedZ/meta.ts @@ -1,14 +1,16 @@ export default { name: 'Reversed Z', description: `This example shows the use of reversed z technique for better utilization of depth buffer precision. - The left column uses regular method, while the right one uses reversed z technique. - Both are using depth32float as their depth buffer format. A set of red and green planes are positioned very close to each other. - Higher sets are placed further from camera (and are scaled for better visual purpose). - To use reversed z to render your scene, you will need depth store value to be 0.0, depth compare function to be greater, - and remap depth range by multiplying an additional matrix to your projection matrix. - Related reading: - https://developer.nvidia.com/content/depth-precision-visualized - https://web.archive.org/web/20220724174000/https://thxforthefish.com/posts/reverse_z/ +The left column uses regular method, while the right one uses reversed z technique. +Both are using depth32float as their depth buffer format. A set of red and green planes are positioned very close to each other. +Higher sets are placed further from camera (and are scaled for better visual purpose). +To use reversed z to render your scene, you will need depth store value to be 0.0, depth compare function to be greater, +and remap depth range by multiplying an additional matrix to your projection matrix. + +Related reading: + - https://developer.nvidia.com/content/depth-precision-visualized + - https://web.archive.org/web/20220724174000/ + - https://thxforthefish.com/posts/reverse_z/ `, filename: __DIRNAME__, sources: [ diff --git a/src/samples.ts b/src/samples.ts index 6d247d63..84f20d84 100644 --- a/src/samples.ts +++ b/src/samples.ts @@ -82,7 +82,6 @@ export const pageCategories: PageCategory[] = [ samplerParameters, reversedZ, renderBundles, - spookyball, }, },