Imbris
205d798fae
temp
2021-02-28 17:11:43 -05:00
Imbris
c7a4b93c90
Fix bugs with sprite rendering
2021-02-22 22:35:39 -05:00
Imbris
3312cb03b3
Update wgpu to fix segfault, fix sprite vertex lookup, normalize sprite
...
normals in vert shader
2021-02-22 22:35:39 -05:00
Imbris
3a6a96b70b
Almost implement instance merging for sprites (validation error and segfault)
2021-02-22 22:35:39 -05:00
Imbris
0ba1fe6a7d
Start sprite refactor
2021-02-22 22:35:39 -05:00
Imbris
145d0306c0
Fix char select shadows by clearing shadow textures
2021-02-22 22:35:39 -05:00
Imbris
a328db1d35
Add setting for the PresentMode
2021-02-22 22:35:38 -05:00
Imbris
09aa528769
fix nametag depth culling as well as a tweak to maybe make the main menu not flicker on intel iGPU
2021-02-22 22:35:38 -05:00
Imbris
7fe2b9e7b0
Fix lod alt texture filtering
2021-02-22 22:35:38 -05:00
Imbris
3faefc03ca
Resolve validation errors with trying to use unsupported filtering modes
2021-02-22 22:35:38 -05:00
Joshua Barretto
53ae9504f3
Corrected shadow cull mode
2021-02-22 22:35:38 -05:00
Imbris
ef26fdac8b
Update to latest wgpu git (around 0.7), temporarily disable shader validation due to naga bug
2021-02-22 22:35:37 -05:00
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
35923932ba
Fix flipping in post-processing stages and precompute the uv in those in the vert shader
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