Commit Graph

2833 Commits

Author SHA1 Message Date
Imbris
a84ede4bea Remove wgpu patch/update wgpu 2021-02-22 22:34:48 -05:00
Imbris
cb7f333efe Comment out secondary backends 2021-02-22 22:34:02 -05:00
Imbris
29f5d191a4 Avoid extra set_pipeline calls 2021-02-22 22:34:02 -05:00
Imbris
52154c5889 Properly rebind shadow textures when they are changed 2021-02-22 22:34:02 -05:00
Joshua Yanovski
96cf59e901 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-02-22 22:34:02 -05:00
Joshua Yanovski
00d0d8f162 Fix point shadows. 2021-02-22 22:34:02 -05:00
Joshua Yanovski
b5cf4a2970 Fix directed shadows, mostly. 2021-02-22 22:34:02 -05:00
Imbris
f5ef7953cf Suppress wgpu_core::device info logging 2021-02-22 22:33:55 -05:00
Joshua Yanovski
21370194e8 More frustration with shadows. 2021-02-22 22:31:44 -05:00
Joshua Yanovski
3db52aff84 Various fixes for shadows. 2021-02-22 22:31:44 -05:00
Capucho
c1046b8db1 Fix the shadow drawing code
Very poorly optimized
2021-02-22 22:31:44 -05:00
Capucho
62cb475f2d Re enable the skybox rendering in char select 2021-02-22 22:31:44 -05:00
Capucho
c2eabfc272 Fix the buffer slicing in the submodel
Fixes the void figures
2021-02-22 22:31:44 -05:00
Capucho
b3d4351229 Re enable sprite rendering 2021-02-22 22:31:44 -05:00
Capucho
38edd7e9c9 Reenable non-player figure drawing 2021-02-22 22:31:42 -05:00
Imbris
5c62cb9a22 Draw water 2021-02-22 22:31:00 -05:00
Imbris
d853103889 Fix clouds 2021-02-22 22:31:00 -05:00
Imbris
861c4ad59b Somewhat fix lod, prevent particles spamming new buffers when disabled 2021-02-22 22:31:00 -05:00
Imbris
da77680332 No cube spam 2021-02-22 22:31:00 -05:00
Imbris
4b9bcd0ae2 Start lod, update wgpu to fix viewport count validation error 2021-02-22 22:31:00 -05:00
Imbris
d2dc3989ea Add skybox 2021-02-22 22:31:00 -05:00
Capucho
0ea17bca10 Fix wrong color format in col light 2021-02-22 22:31:00 -05:00
Capucho
6fc916d9a1 Reenable terrain rendering
Refractor col lights
2021-02-22 22:31:00 -05:00
Capucho
1c05315953 Fix the orientation of the rendering
Reenable the rendering of the player
2021-02-22 22:31:00 -05:00
Capucho
cf66d6b082 Pass format to particle pipeline 2021-02-22 22:30:59 -05:00
Capucho
2bad1f22b0 Renable the figure and terrain drawing code (not working yet) 2021-02-22 22:30:59 -05:00
Imbris
de103bee1c Fix culling of postprocess/cloud triangles 2021-02-22 22:30:59 -05:00
Imbris
c0200b0d37 Particles compiles and runs (no visuals yet) 2021-02-22 22:30:59 -05:00
Capucho
4be44a53b7 Remove the depth buffer from the Third drawer 2021-02-22 22:30:59 -05:00
Capucho
268b8e6327 Shader fixes 2021-02-22 22:30:59 -05:00
Capucho
38725e53f9 Update dependencies 2021-02-22 22:30:58 -05:00
Imbris
3efc88d867 Almost make clouds/postproccess run 2021-02-22 22:26:45 -05:00
Imbris
7f7ed29968 Render the UIs 2021-02-22 22:26:45 -05:00
Imbris
7b464062b7 Add generic Bound<T> type for grouping consts/other bindable things with bind groups 2021-02-22 22:26:45 -05:00
Imbris
68efb0d992 Render Ui 2021-02-22 22:26:43 -05:00
Imbris
e187566ad0 Color! 2021-02-22 22:25:37 -05:00
Imbris
15b98056c4 fixed validation errors when creating pipelines 2021-02-22 22:25:37 -05:00
Imbris
b6de6997a0 No crash on startup 2021-02-22 22:25:37 -05:00
Imbris
df955c158a 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-02-22 22:25:37 -05:00
Imbris
c2418fa3ed Improve shader errors by showing shader file name, reduce repetitive shader construction code 2021-02-22 22:25:37 -05:00
Imbris
7252e2b793 migrate cloud pipeline, migrate iced renderer, rebase fixes 2021-02-22 22:25:37 -05:00
Imbris
ad54831c97 Make compile through various changes, update wgpu to latest git 2021-02-22 22:25:35 -05:00
Capucho
45c6638737 More fixes 2021-02-22 22:23:09 -05:00
Capucho
cd2901a3c7 Switched from zerocopy to bytemuck
Fixing errors
2021-02-22 22:20:19 -05:00
Capucho
91454ab0f7 Made the layouts more compact 2021-02-22 22:18:22 -05:00
Capucho
4fd9567da5 Finished porting all pipelines 2021-02-22 22:18:22 -05:00
Capucho
32a78c3988 Began porting pipeline creation 2021-02-22 22:18:22 -05:00
Capucho
d21709190c ported all pipelines 2021-02-22 22:18:22 -05:00
Capucho
fc800a7d53 Ported most of the textures and models related methods 2021-02-22 22:18:22 -05:00
Capucho
a43c7c7496 Started the report of wgpu 2021-02-22 22:18:20 -05:00