Commit graph

35 commits

Author SHA1 Message Date
ebef7fe1c5 Update packages 2025-01-11 18:54:02 +02:00
718c9fdeb8 Static lightmap size, fix aspect ratio 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
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
5f7e77afbd Add debug groups to render loop 2025-01-11 18:54:02 +02:00
c5e32a830d WIP shadowmapping 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
8c51f91d00 clippy suggestions 2025-01-11 18:54:02 +02:00
7152d9d274 fix ambient light 2025-01-11 18:54:02 +02:00
cd6e8a28cc adjust state defaults 2025-01-11 18:54:02 +02:00
1dc6565a26 working wasm build 2023-01-28 12:23:43 +02:00
b40e6887e6 rename test shader 2023-01-27 22:06:02 +02:00
8947398ad0 use rust-embed for assets 2023-01-27 21:45:49 +02:00
a99b018ec1 glb sponza 2023-01-27 21:15:28 +02:00
bd5713febf remove unused instance code 2023-01-27 02:40:40 +02:00
a4e56e8d58 wgsl include preprocessor; refactor pbr 2023-01-25 05:34:01 +02:00
28837ede0e lower fov a bit, brighter light 2023-01-24 17:00:51 +02:00
0746a09c45 pbr 2023-01-24 03:59:06 +02:00
320171e304 update deps 2023-01-23 17:15:02 +02:00
1a7a6707d9 gltf loading; world space lighting for now 2023-01-23 00:24:05 +02:00
e39ea0b80b sponza debugging and fixes 2022-10-06 00:20:18 +03:00
19c5434d0f broken normal maps 2022-10-04 01:30:50 +03:00
89789d5f4a lighting, blinn-phong 2022-10-03 22:31:01 +03:00
3838b5d7c6 obj models 2022-10-02 22:03:50 +03:00
4ab10fe790 instancing, camera movement 2022-10-02 18:59:20 +03:00
Renamed from src/surf/state.rs (Browse further)