Imbris
09a25e3fc0
Remove wgpu patch/update wgpu, rebase fixes, remove use of deprecated
...
vek functions for left, right, up, down, forward_rh, forward_lh
2021-04-22 18:59:45 -04:00
Imbris
d24498ad30
Comment out secondary backends
2021-04-22 18:59:44 -04:00
Imbris
624183e3f3
Avoid extra set_pipeline calls
2021-04-22 18:59:44 -04:00
Imbris
b2f94c1485
Properly rebind shadow textures when they are changed
2021-04-22 18:59:44 -04:00
Joshua Yanovski
5b73717237
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-04-22 18:59:44 -04:00
Joshua Yanovski
a91722208c
Fix point shadows.
2021-04-22 18:59:44 -04:00
Joshua Yanovski
82b930f68b
Fix directed shadows, mostly.
2021-04-22 18:59:44 -04:00
Imbris
9b8f6efb49
Suppress wgpu_core::device info logging
2021-04-22 18:59:44 -04:00
Joshua Yanovski
90b496b3b1
More frustration with shadows.
2021-04-22 18:59:44 -04:00
Joshua Yanovski
2e23def2c9
Various fixes for shadows.
2021-04-22 18:59:44 -04:00
Capucho
2a748526fc
Fix the shadow drawing code
...
Very poorly optimized
2021-04-22 18:59:44 -04:00
Capucho
fed5823a74
Re enable the skybox rendering in char select
2021-04-22 18:59:44 -04:00
Capucho
4b651d535f
Fix the buffer slicing in the submodel
...
Fixes the void figures
2021-04-22 18:59:44 -04:00
Capucho
732e0fa483
Re enable sprite rendering
2021-04-22 18:59:44 -04:00
Capucho
1cf128311a
Reenable non-player figure drawing
2021-04-22 18:59:44 -04:00
Imbris
a723fc85ae
Draw water
2021-04-22 18:59:44 -04:00
Imbris
4e06da7de8
Fix clouds
2021-04-22 18:59:44 -04:00
Imbris
a886efa2ff
Fix flipping in post-processing stages and precompute the uv in those in the vert shader
2021-04-22 18:59:44 -04:00
Imbris
0eccb2d2e6
Somewhat fix lod, prevent particles spamming new buffers when disabled
2021-04-22 18:59:44 -04:00
Imbris
d7d415f23f
No cube spam
2021-04-22 18:59:44 -04:00
Imbris
beaf4a2402
Start lod, update wgpu to fix viewport count validation error
2021-04-22 18:59:43 -04:00
Imbris
c943600274
Add skybox
2021-04-22 18:59:43 -04:00
Capucho
8836e8bd49
Fix wrong color format in col light
2021-04-22 18:59:43 -04:00
Capucho
f6c821ef3a
Reenable terrain rendering
...
Refractor col lights
2021-04-22 18:59:43 -04:00
Capucho
f8570e9c83
Fix the orientation of the rendering
...
Reenable the rendering of the player
2021-04-22 18:59:43 -04:00
Capucho
6f60c1ca5c
Pass format to particle pipeline
2021-04-22 18:59:43 -04:00
Capucho
8063730872
Renable the figure and terrain drawing code (not working yet)
2021-04-22 18:59:43 -04:00
Imbris
adb791229b
Fix culling of postprocess/cloud triangles
2021-04-22 18:59:43 -04:00
Imbris
fb5e763ce3
Particles compiles and runs (no visuals yet)
2021-04-22 18:59:43 -04:00
Capucho
055556344b
Remove the depth buffer from the Third drawer
2021-04-22 18:59:43 -04:00
Capucho
a4eb6a3179
Shader fixes
2021-04-22 18:59:43 -04:00
Capucho
551e899f18
Update dependencies
2021-04-22 18:59:43 -04:00
Imbris
b3eab70fb2
Almost make clouds/postproccess run
2021-04-22 18:59:43 -04:00
Imbris
c34afaa258
Render the UIs
2021-04-22 18:59:43 -04:00
Imbris
7b86b0d236
Add generic Bound<T> type for grouping consts/other bindable things with bind groups
2021-04-22 18:59:43 -04:00
Imbris
42770c2f89
Render Ui
2021-04-22 18:59:43 -04:00
Imbris
03994495a8
Color!
2021-04-22 18:59:43 -04:00
Imbris
6ce8acbea9
fixed validation errors when creating pipelines
2021-04-22 18:59:43 -04:00
Imbris
cdb6bd56a1
No crash on startup
2021-04-22 18:59:43 -04:00
Imbris
366e8e8e04
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-04-22 18:59:43 -04:00
Imbris
3f88fa54c7
Improve shader errors by showing shader file name, reduce repetitive shader construction code
2021-04-22 18:59:42 -04:00
Imbris
df87b0cf8a
migrate cloud pipeline, migrate iced renderer, rebase fixes
2021-04-22 18:59:42 -04:00
Imbris
4fb189c388
Make compile through various changes, update wgpu to latest git
2021-04-22 18:59:42 -04:00
Capucho
3f85a8a8cf
More fixes
2021-04-22 18:59:42 -04:00
Capucho
9000b756a8
Switched from zerocopy to bytemuck
...
Fixing errors
2021-04-22 18:59:42 -04:00
Capucho
acd13b87f3
Made the layouts more compact
2021-04-22 18:59:42 -04:00
Capucho
54010cb441
Finished porting all pipelines
2021-04-22 18:59:42 -04:00
Capucho
2f72227c13
Began porting pipeline creation
2021-04-22 18:59:42 -04:00
Capucho
5f9c5b83d7
ported all pipelines
2021-04-22 18:59:42 -04:00
Capucho
9370ffad33
Ported most of the textures and models related methods
2021-04-22 18:59:42 -04:00