Commit Graph

8487 Commits

Author SHA1 Message Date
8f862b6e04 Comment out secondary backends 2021-06-02 23:59:49 -04:00
87fef25058 Avoid extra set_pipeline calls 2021-06-02 23:59:48 -04:00
652caee86d Properly rebind shadow textures when they are changed 2021-06-02 23:59:48 -04:00
26e51b5514 Inverse depth planes.
Also added a function that has extensive details about what the
projection options mean, and set our near plane much closer (0.25 to
0.0625) and far plane much farther (100000.25 to 524288.0625).  In the
future we may completely remove the far plane (opting for an infinite
one) and may possibly improve accuracy elsewhere using analysis of other
floating point values.
2021-06-02 23:59:48 -04:00
ba9a9c099a Fix point shadows. 2021-06-02 23:59:48 -04:00
c63683bde9 Fix directed shadows, mostly. 2021-06-02 23:59:48 -04:00
8612a237eb Suppress wgpu_core::device info logging 2021-06-02 23:59:48 -04:00
b035b5a86a More frustration with shadows. 2021-06-02 23:59:48 -04:00
ae17b7e296 Various fixes for shadows. 2021-06-02 23:59:48 -04:00
7ce375907c Fix the shadow drawing code
Very poorly optimized
2021-06-02 23:59:48 -04:00
409e1daab6 Re enable the skybox rendering in char select 2021-06-02 23:59:48 -04:00
7dda94fb21 Fix the buffer slicing in the submodel
Fixes the void figures
2021-06-02 23:59:48 -04:00
6ecc51004e Re enable sprite rendering 2021-06-02 23:59:48 -04:00
6860313d9d Reenable non-player figure drawing 2021-06-02 23:59:48 -04:00
46eeedeaf7 Draw water 2021-06-02 23:59:48 -04:00
6fff5177b0 Fix clouds 2021-06-02 23:59:48 -04:00
ee03f6656b Fix flipping in post-processing stages and precompute the uv in those in the vert shader 2021-06-02 23:59:48 -04:00
6f9bc075d0 Somewhat fix lod, prevent particles spamming new buffers when disabled 2021-06-02 23:59:48 -04:00
2b36aa6b60 No cube spam 2021-06-02 23:59:48 -04:00
d4f55bcbd2 Start lod, update wgpu to fix viewport count validation error 2021-06-02 23:59:48 -04:00
c51a167eeb Add skybox 2021-06-02 23:59:48 -04:00
c6e415bc7d Fix wrong color format in col light 2021-06-02 23:59:48 -04:00
ad7f1fe18f Reenable terrain rendering
Refractor col lights
2021-06-02 23:59:48 -04:00
9a5bc12d3c Fix the orientation of the rendering
Reenable the rendering of the player
2021-06-02 23:59:47 -04:00
9de927fb2f Pass format to particle pipeline 2021-06-02 23:59:47 -04:00
9924d15dc8 Renable the figure and terrain drawing code (not working yet) 2021-06-02 23:59:47 -04:00
52660e9262 Fix culling of postprocess/cloud triangles 2021-06-02 23:59:47 -04:00
cd46a4bd85 Particles compiles and runs (no visuals yet) 2021-06-02 23:59:47 -04:00
6530fe99db Remove the depth buffer from the Third drawer 2021-06-02 23:59:47 -04:00
85296c1bb5 Shader fixes 2021-06-02 23:59:47 -04:00
9379c4d1dc Update dependencies 2021-06-02 23:59:47 -04:00
dd15e7e7d9 Almost make clouds/postproccess run 2021-06-02 23:59:47 -04:00
5af8c24fa0 Render the UIs 2021-06-02 23:59:47 -04:00
9587cd0191 Add generic Bound<T> type for grouping consts/other bindable things with bind groups 2021-06-02 23:59:47 -04:00
67d3f7fe08 Render Ui 2021-06-02 23:59:45 -04:00
40e73b8bbf Color! 2021-06-02 23:56:43 -04:00
5af935a218 fixed validation errors when creating pipelines 2021-06-02 23:56:43 -04:00
9bb283c603 No crash on startup 2021-06-02 23:56:43 -04:00
940d60d888 Made shaders compile by adding locations and bindings and splitting textures and samplers out into two things and adding guards for double including shaders 2021-06-02 23:56:43 -04:00
0b240dd22e Improve shader errors by showing shader file name, reduce repetitive shader construction code 2021-06-02 23:56:43 -04:00
40cd2a2977 migrate cloud pipeline, migrate iced renderer, rebase fixes 2021-06-02 23:56:43 -04:00
c938b4a4da Make compile through various changes, update wgpu to latest git 2021-06-02 23:56:43 -04:00
2c920558bb More fixes 2021-06-02 23:56:43 -04:00
ed359af94e Switched from zerocopy to bytemuck
Fixing errors
2021-06-02 23:56:40 -04:00
6270184e9d Made the layouts more compact 2021-06-02 23:55:59 -04:00
e1145de8c2 Finished porting all pipelines 2021-06-02 23:55:59 -04:00
08084e7a41 Began porting pipeline creation 2021-06-02 23:55:59 -04:00
bb6bf52ea8 ported all pipelines 2021-06-02 23:55:59 -04:00
7055620636 Ported most of the textures and models related methods 2021-06-02 23:55:59 -04:00
c069149aab Started the report of wgpu 2021-06-02 23:55:59 -04:00