Skip to content

Commit 1ba8cb6

Browse files
committed
fixes #650
1 parent 09ddef5 commit 1ba8cb6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/beginner/tutorial8-depth/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,6 @@ And that's all we have to do! No shader code is needed! If you run the applicati
177177

178178
## Challenge
179179

180-
Since the depth buffer is a texture, we can sample it in the shader. Because it's a depth texture, we'll have to use the `sampler_comparison` uniform type and the `textureSampleCompare` function instead of `sampler` and `sampler2D` respectively. Create a bind group for the depth texture (or reuse an existing one), and render it to the screen.
180+
Since the depth buffer is a texture, we can sample it in the shader.
181+
Create a bind group for the depth texture (or reuse an existing one),
182+
and render it to the screen.

0 commit comments

Comments
 (0)