Commit 61eecac
authored
feature: WIP occlusion culling (#137)
* use WeakHybrid in InternalRenderlet
* Occlusion culling, part one
added MipMapGenerator, depth pyramid shaders
slab buffers are created with size 1 to avoid wgpu validation bug
fixed a bug where re-staging a texture often copied to the wrong layer
debbugging led to better sphere projection for culling
update sample count so we don't invalidate every frame
debug overlay of bounding spheres
use box instead of circle for bounds in debug overlay
don't use compute culling by default
* regenerate shaders, fix merge errors, treat *.spv and *.wgsl as binary
* use cargo-gpu on branch
* clean rust-gpu checkouts (temporary)
* also clean the rust-gpu cache dir
* allow the cache to persist
* don't use bool as u32 in shaders
* change rust-gpu cache step
* update cargo gpu1 parent ce0487c commit 61eecac
File tree
86 files changed
+7419
-4053
lines changed- .cargo
- .github/workflows
- crates
- example-culling/src
- example/src
- renderling-ui
- src
- renderling
- shaders
- src
- atlas
- bloom
- cull
- debug
- draw
- ibl
- linkage
- pbr
- skybox
- slab
- stage
- texture
- tonemapping
- test_img
- sdf
- ui/text
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
86 files changed
+7419
-4053
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 23 | + | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
| |||
0 commit comments