Commit Graph

19 Commits

Author SHA1 Message Date
f35c98d1a1 Added LoD distance setting 2022-05-10 12:40:06 +01:00
b3126ca687 Initial implementation of LoD trees 2022-05-10 12:38:36 +01:00
8403e4c483 address/remove TODOs, fix comment typos, enable wgpu/trace feature by default (So no recompile is needed to collect an API trace) 2021-06-03 00:10:06 -04:00
7b04599a3b Implement a Debug pipeline for hitboxes and pathfinding lines.
- Implements mesh generation for cylinders and lines.
    - Implements an Id-allocator so that clients can mutate positions efficiently.
    - Is split into pipeline and scene modules.
    - Contains simple shaders that just pass through a position and color.
2021-06-03 00:10:06 -04:00
9ec4fd5b4b Remove commented out sprite code, including the code for getting verts for sprites with a texture rather than a storage buffer 2021-06-03 00:10:06 -04:00
9be424de53 Remove unused waves texture 2021-06-03 00:10:05 -04:00
64398f6c0a Try out using storage buffer for sprite vertices 2021-06-02 23:59:50 -04:00
8d63446300 Almost implement instance merging for sprites (validation error), rebase
fix
2021-06-02 23:59:50 -04:00
7012e16706 Properly rebind shadow textures when they are changed 2021-06-02 23:59:48 -04:00
23f1144fe2 Fix the shadow drawing code
Very poorly optimized
2021-06-02 23:59:48 -04:00
672ac0dbf3 Fix the buffer slicing in the submodel
Fixes the void figures
2021-06-02 23:59:48 -04:00
b6c37be299 Re enable sprite rendering 2021-06-02 23:59:48 -04:00
fe6cf0396f Draw water 2021-06-02 23:59:48 -04:00
99d74147e5 No cube spam 2021-06-02 23:59:48 -04:00
aa17132f9d Start lod, update wgpu to fix viewport count validation error 2021-06-02 23:59:48 -04:00
1083d04c73 Reenable terrain rendering
Refractor col lights
2021-06-02 23:59:48 -04:00
1668e834f8 Renable the figure and terrain drawing code (not working yet) 2021-06-02 23:59:47 -04:00
1e2d956106 Render the UIs 2021-06-02 23:59:47 -04:00
628d9391d3 Add generic Bound<T> type for grouping consts/other bindable things with bind groups 2021-06-02 23:59:47 -04:00