d7b651451b
Implement screenshots
2021-05-30 11:49:41 -04:00
0ad51204ec
Update wgpu-profiler, smol rebase fix
2021-05-30 11:49:41 -04:00
66822246e3
Change docker tags to a wpu specific tag
2021-05-30 11:49:41 -04:00
e31353df88
Display gpu timing info in the HUD when enabled
2021-05-30 11:49:41 -04:00
2de13f3a87
Try out using storage buffer for sprite vertices
2021-05-30 11:49:41 -04:00
bed1596985
Fix bugs with sprite rendering
2021-05-30 11:49:41 -04:00
0933a87d84
Fix sprite vertex lookup, normalize sprite
...
normals in vert shader
2021-05-30 11:49:41 -04:00
8c3ede3b39
Almost implement instance merging for sprites (validation error), rebase
...
fix
2021-05-30 11:49:41 -04:00
49f03bd325
Start sprite refactor
2021-05-30 11:49:41 -04:00
ef96ce68e6
Fix winit returning wrong window size
...
It seems like waiting for wgpu to create a instance is enough to make
winit return the correct window size
2021-05-30 11:49:41 -04:00
e40702c083
Fix scissor panic
...
Removes the Scale::physical_resolution method as it could become
desynced from the renderer resolution causing the panic
2021-05-30 11:49:41 -04:00
3da110628a
Update to the most recent wgpu
2021-05-30 11:49:40 -04:00
f62718044d
Fix texture sampling syntax
2021-05-30 11:49:40 -04:00
a1d8265935
Switch to index rendering for most quad-like things
2021-05-30 11:49:40 -04:00
0d7e96e849
Small fixes to gpu profiling
2021-05-30 11:49:40 -04:00
9d076d3a89
Update to the latest wgpu git
2021-05-30 11:49:40 -04:00
d2e2580df4
Implement toggleable gpu profiling that saves the timings from a recent frame with the screenshot key, rebase fixes
2021-05-30 11:49:40 -04:00
5cdce0635d
WIP gpu timer thing (not for squashing!)
2021-05-30 11:49:40 -04:00
40d420e868
Update wgpu to fix segfault
2021-05-30 11:49:40 -04:00
d79e9cf40a
Fix char select shadows by clearing shadow textures
2021-05-30 11:49:40 -04:00
e2469152a3
Add setting for the PresentMode
2021-05-30 11:49:40 -04:00
f307037a50
fix nametag depth culling as well as a tweak to maybe make the main menu not flicker on intel iGPU
2021-05-30 11:49:40 -04:00
65a864f45b
Fix lod alt texture filtering
2021-05-30 11:49:40 -04:00
4f30534ea1
Resolve validation errors with trying to use unsupported filtering modes
2021-05-30 11:49:40 -04:00
d247379953
Corrected shadow cull mode
2021-05-30 11:49:40 -04:00
5e0f26ab30
Update to latest wgpu git (around 0.7), temporarily disable shader validation due to naga bug, rebase fixes!!
2021-05-30 11:49:40 -04:00
72e6fe89df
Remove wgpu patch/update wgpu, rebase fixes, remove use of deprecated
...
vek functions for left, right, up, down, forward_rh, forward_lh
2021-05-30 11:49:40 -04:00
855101d72a
Comment out secondary backends
2021-05-30 11:49:40 -04:00
693fca4cc3
Avoid extra set_pipeline calls
2021-05-30 11:49:40 -04:00
863ed7fb80
Properly rebind shadow textures when they are changed
2021-05-30 11:49:40 -04:00
057ba79b57
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-05-30 11:49:40 -04:00
1a1eb0d932
Fix point shadows.
2021-05-30 11:49:40 -04:00
579fdad97e
Fix directed shadows, mostly.
2021-05-30 11:49:40 -04:00
224ddb9db6
Suppress wgpu_core::device info logging
2021-05-30 11:49:40 -04:00
e974ebfebd
More frustration with shadows.
2021-05-30 11:49:40 -04:00
ffa8f29732
Various fixes for shadows.
2021-05-30 11:49:40 -04:00
bbbe4ea368
Fix the shadow drawing code
...
Very poorly optimized
2021-05-30 11:49:40 -04:00
4941736cec
Re enable the skybox rendering in char select
2021-05-30 11:49:40 -04:00
39217b7f84
Fix the buffer slicing in the submodel
...
Fixes the void figures
2021-05-30 11:49:40 -04:00
b3985422b1
Re enable sprite rendering
2021-05-30 11:49:40 -04:00
0394a9afce
Reenable non-player figure drawing
2021-05-30 11:49:40 -04:00
95cc5da1e4
Draw water
2021-05-30 11:49:40 -04:00
2534e65d0e
Fix clouds
2021-05-30 11:49:40 -04:00
8c44fdaac2
Fix flipping in post-processing stages and precompute the uv in those in the vert shader
2021-05-30 11:49:40 -04:00
ec0f4db3d9
Somewhat fix lod, prevent particles spamming new buffers when disabled
2021-05-30 11:49:40 -04:00
362a14d749
No cube spam
2021-05-30 11:49:40 -04:00
9aad14e06e
Start lod, update wgpu to fix viewport count validation error
2021-05-30 11:49:40 -04:00
9da50b3f4d
Add skybox
2021-05-30 11:49:40 -04:00
b486048d0c
Fix wrong color format in col light
2021-05-30 11:49:40 -04:00
d6062dc854
Reenable terrain rendering
...
Refractor col lights
2021-05-30 11:49:40 -04:00