#2d depth buffer

4 messages ยท Page 1 of 1 (latest)

dusk loom
#

Hello ๐Ÿ‘‹

Last week in the "This Week in Bevy" blog I saw the progress about 2d depth buffers

I'm referring to this blogpost: https://thisweekinbevy.com/issue/2024-08-12-vello-minecraft-settlements-and-destructible-planets (see "2d depth buffer" section below)

I'm trying to achieve something similar, but I'm not well versed in graphics programming in Bevy. How can I achieve something like the screenshot? Can someone point me in the right direction?

This Week in Bevy

What happened in the week of 2024-08-12 the Bevy Game Engine ecosystem

#

I rendered a couple of cubes in Blender + depth masks, so I'm trying to make them intersect as if they were 3D thanks to the depth buffer

#

Essentially, what I want is to somehow use the above texture to produce the following image:

#

is this something that can be achieved with these new Bevy's 2d depth buffer, or am I misunderstanding the feature?