Commit graph

84 commits

Author SHA1 Message Date
6c9fd76c42 cleanup 2025-01-11 18:54:02 +02:00
5afa12a236 Fix shadowmap sampling outside of frustum 2025-01-11 18:54:02 +02:00
5e0001e2e1 Get light pos directly from matrices, debugging shadowmaps 2025-01-11 18:54:02 +02:00
2dc20ad12c Clippy fixes 2025-01-11 18:54:02 +02:00
ebef7fe1c5 Update packages 2025-01-11 18:54:02 +02:00
3cebdf3bfa update todo 2025-01-11 18:54:02 +02:00
43883e8c6c increase near plane 2025-01-11 18:54:02 +02:00
718c9fdeb8 Static lightmap size, fix aspect ratio 2025-01-11 18:54:02 +02:00
137d0e0c0a up ambient light 2025-01-11 18:54:02 +02:00
e682e3870e Simplify light matrices 2025-01-11 18:54:02 +02:00
e153ff5b6b Same near&far plane for cam and lights 2025-01-11 18:54:02 +02:00
b978091cd4 Different depth settings for shadows 2025-01-11 18:54:02 +02:00
86e1521128 Less -> LessEqual 2025-01-11 18:54:02 +02:00
9598128b6a Replace binding_array with texture_depth_2d_array, avoid copying and multiple samplers 2025-01-11 18:54:02 +02:00
fb1cbf6b9a Remove unused padding 2025-01-11 18:54:02 +02:00
7c6062dced fix light position offset 2025-01-11 18:54:02 +02:00
7830d735b8 Fix depth texture saving 2025-01-11 18:54:02 +02:00
010e4dedeb Pass light matrix as separate uniform, fix matrices 2025-01-11 18:54:02 +02:00
2676b841fe Update to wgpu 0.15.1 2025-01-11 18:54:02 +02:00
a68a8f3cfa LessEqual -> Less 2025-01-11 18:54:02 +02:00
ccfaff88bd Fix wrong model for light depth pass 2025-01-11 18:54:02 +02:00
ba41da6804 Non-fullscreen window in debug mode 2025-01-11 18:54:02 +02:00
5f7e77afbd Add debug groups to render loop 2025-01-11 18:54:02 +02:00
fb876c1c95 fix light view matrices 2025-01-11 18:54:02 +02:00
c5e32a830d WIP shadowmapping 2025-01-11 18:54:02 +02:00
43b4eaf5ab Update readme for wasm 2025-01-11 18:54:02 +02:00
fd591b3ee5 Update winit 2025-01-11 18:54:02 +02:00
ac67a3d4de WIP shadowmapping 2025-01-11 18:54:02 +02:00
2fdae1a23a state::render cleanup 2025-01-11 18:54:02 +02:00
450fc7a518 Use cube for light debug mesh instead of entirety of Sponza... 2025-01-11 18:54:02 +02:00
2ddc863ca5 WIP renderpass cleanup 2025-01-11 18:54:02 +02:00
fa8179ea43 update readme 2025-01-11 18:54:02 +02:00
d2a2d37330 workflow permissions 2025-01-11 18:54:02 +02:00
bfa1f837e3 workflow permissions 2025-01-11 18:54:02 +02:00
44195b422a update readme 2025-01-11 18:54:02 +02:00
f7aa07bf2e update readme 2025-01-11 18:54:02 +02:00
9e67f20667 update actions 2025-01-11 18:54:02 +02:00
c43ba3fe6e update readme 2025-01-11 18:54:02 +02:00
8c51f91d00 clippy suggestions 2025-01-11 18:54:02 +02:00
c1148ea8bc some cleanup 2025-01-11 18:54:02 +02:00
7152d9d274 fix ambient light 2025-01-11 18:54:02 +02:00
afcfee789b dev opt 2025-01-11 18:54:02 +02:00
85e708b317 update readme 2025-01-11 18:54:02 +02:00
998b7747e9 run wasm script 2025-01-11 18:54:02 +02:00
cd6e8a28cc adjust state defaults 2025-01-11 18:54:02 +02:00
0e8a30f453 remove white border from html 2025-01-11 18:54:02 +02:00
da94a2220c Fix cursor lock panic 2025-01-11 18:54:02 +02:00
4863b7a09d update readme 2025-01-11 18:54:02 +02:00
3ba49c7b5d add licenses 2025-01-11 18:53:59 +02:00
58993b50f4 update workflow 2023-01-28 12:53:39 +02:00