Skip to content

Commit 9c7a8f2

Browse files
N44: Using the Depth Prepass in Bevy 0.10 (#1338)
Co-authored-by: Forest Anderson <[email protected]>
1 parent 9a94124 commit 9c7a8f2

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed
78.8 KB
Loading

content/news/044/index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,23 @@ youtube][nes-audio-tool-demo-video]. The PDF of the slides from the talk are
328328
[writing-nes-programs-in-rust-pdf]: https://github.com/raw/gridbugs/nes-programming-in-rust-sydney-rust-meetup-2023-03-01/main/slides.pdf
329329
[nes-audio-tool-demo-video]: https://www.youtube.com/watch?v=QHoISiWdPXo
330330

331+
### [Using the Depth Prepass in Bevy 0.10]
332+
333+
![depth prepass in bevy 0.10](bevy-depth-prepass.jpg)
334+
_depth prepass powered intersections between a shield and wall/floor_
335+
336+
[@chrisbiscardi] published a [video][Using the Depth Prepass in Bevy 0.10] about
337+
using the Depth Prepass texture in Bevy 0.10. The depth prepass, along with the
338+
normal prepass, are new passes in Bevy 0.10 that allow you to access distance
339+
from the camera and normal direction for a particular pixel on the screen. The
340+
textures created by these passes can then be used to power effects in your own
341+
custom shaders.
342+
343+
_Discussions: [YouTube](https://www.youtube.com/watch?v=3OHaEVHahIg), [Mastodon](https://hachyderm.io/@chrisbiscardi/110101000132502075)_
344+
345+
[Using the Depth Prepass in Bevy 0.10]: https://www.youtube.com/watch?v=3OHaEVHahIg
346+
[@chrisbiscardi]: https://hachyderm.io/@chrisbiscardi
347+
331348
## Tooling Updates
332349

333350
### Tiger

0 commit comments

Comments
 (0)