Avokadoen / zig_vulkan

Toying with vulkan and zig
45 stars 2 forks source link

Implement brick streaming #121

Open Avokadoen opened 2 years ago

Avokadoen commented 2 years ago

Brick streaming is described in this repo:

When a ray hits a brick that has not yet been loaded on the GPU it will add the request to a request buffer. The CPU will then upload the brick to the GPU. This way only bricks that lay on the surface of a superchunk will be loaded since rays won't penetrate into the inside of a superchunk.