diff --git a/examples/webgl_reverse_depth_buffer.html b/examples/webgl_reverse_depth_buffer.html index 825a22a87f0cdb..75e54f8ce3fe69 100644 --- a/examples/webgl_reverse_depth_buffer.html +++ b/examples/webgl_reverse_depth_buffer.html @@ -62,17 +62,15 @@ text-align: center; } - #depth-warning { + #info_note { position: absolute; - top: 40px; + top: 24px; width: 100%; padding: 10px; box-sizing: border-box; text-align: center; - color: #ff5555; - font-weight: bold; + color: rgba(255, 255, 255, 0.8); z-index: 2; - display: none; } @@ -87,8 +85,8 @@ three.js - reverse depth buffer
-
- Warning: Your browser's WebGL provides less than 24-bit depth buffer precision. This example may not display correctly. +
+ Note: For best results, a floating-point depth buffer should be used with post-processing. See Visualizing Depth Precision.