Imbris
b8d3735728
Start sprite refactor
2021-06-02 23:59:49 -04:00
João Capucho
f565e433fd
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-06-02 23:59:49 -04:00
João Capucho
8fbebc11e2
Fix scissor panic
...
Removes the Scale::physical_resolution method as it could become
desynced from the renderer resolution causing the panic
2021-06-02 23:59:49 -04:00
João Capucho
5e4aabd981
Update to the most recent wgpu
2021-06-02 23:59:49 -04:00
Imbris
be9bee50fb
Switch to index rendering for most quad-like things
2021-06-02 23:59:49 -04:00
Imbris
2a1fafb299
Small fixes to gpu profiling
2021-06-02 23:59:49 -04:00
Imbris
118487cee2
Update to the latest wgpu git
2021-06-02 23:59:49 -04:00
Imbris
0ea17414a5
Implement toggleable gpu profiling that saves the timings from a recent frame with the screenshot key, rebase fixes
2021-06-02 23:59:49 -04:00
Imbris
1b727ddba2
WIP gpu timer thing (not for squashing!)
2021-06-02 23:59:49 -04:00
Imbris
63eb209294
Update wgpu to fix segfault
2021-06-02 23:59:49 -04:00
Imbris
ed0e0ed8dd
Fix char select shadows by clearing shadow textures
2021-06-02 23:59:49 -04:00
Imbris
73eeff7121
Add setting for the PresentMode
2021-06-02 23:59:49 -04:00
Imbris
f539edfa84
fix nametag depth culling as well as a tweak to maybe make the main menu not flicker on intel iGPU
2021-06-02 23:59:49 -04:00
Imbris
9a1f23907d
Fix lod alt texture filtering
2021-06-02 23:59:49 -04:00
Imbris
d7ef3cb76c
Resolve validation errors with trying to use unsupported filtering modes
2021-06-02 23:59:49 -04:00
Joshua Barretto
41fbd8a7a1
Corrected shadow cull mode
2021-06-02 23:59:49 -04:00
Imbris
4e452b1e5b
Update to latest wgpu git (around 0.7), temporarily disable shader validation due to naga bug, rebase fixes!!
2021-06-02 23:59:49 -04:00
Imbris
847c3bffa5
Remove wgpu patch/update wgpu, rebase fixes, remove use of deprecated
...
vek functions for left, right, up, down, forward_rh, forward_lh
2021-06-02 23:59:49 -04:00
Imbris
8f862b6e04
Comment out secondary backends
2021-06-02 23:59:49 -04:00
Imbris
87fef25058
Avoid extra set_pipeline calls
2021-06-02 23:59:48 -04:00
Imbris
652caee86d
Properly rebind shadow textures when they are changed
2021-06-02 23:59:48 -04:00
Joshua Yanovski
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
Joshua Yanovski
ba9a9c099a
Fix point shadows.
2021-06-02 23:59:48 -04:00
Joshua Yanovski
c63683bde9
Fix directed shadows, mostly.
2021-06-02 23:59:48 -04:00
Joshua Yanovski
b035b5a86a
More frustration with shadows.
2021-06-02 23:59:48 -04:00
Joshua Yanovski
ae17b7e296
Various fixes for shadows.
2021-06-02 23:59:48 -04:00
Capucho
7ce375907c
Fix the shadow drawing code
...
Very poorly optimized
2021-06-02 23:59:48 -04:00
Capucho
409e1daab6
Re enable the skybox rendering in char select
2021-06-02 23:59:48 -04:00
Capucho
7dda94fb21
Fix the buffer slicing in the submodel
...
Fixes the void figures
2021-06-02 23:59:48 -04:00
Capucho
6ecc51004e
Re enable sprite rendering
2021-06-02 23:59:48 -04:00
Capucho
6860313d9d
Reenable non-player figure drawing
2021-06-02 23:59:48 -04:00
Imbris
46eeedeaf7
Draw water
2021-06-02 23:59:48 -04:00
Imbris
6fff5177b0
Fix clouds
2021-06-02 23:59:48 -04:00
Imbris
6f9bc075d0
Somewhat fix lod, prevent particles spamming new buffers when disabled
2021-06-02 23:59:48 -04:00
Imbris
2b36aa6b60
No cube spam
2021-06-02 23:59:48 -04:00
Imbris
d4f55bcbd2
Start lod, update wgpu to fix viewport count validation error
2021-06-02 23:59:48 -04:00
Imbris
c51a167eeb
Add skybox
2021-06-02 23:59:48 -04:00
Capucho
c6e415bc7d
Fix wrong color format in col light
2021-06-02 23:59:48 -04:00
Capucho
ad7f1fe18f
Reenable terrain rendering
...
Refractor col lights
2021-06-02 23:59:48 -04:00
Capucho
9a5bc12d3c
Fix the orientation of the rendering
...
Reenable the rendering of the player
2021-06-02 23:59:47 -04:00
Capucho
9de927fb2f
Pass format to particle pipeline
2021-06-02 23:59:47 -04:00
Capucho
9924d15dc8
Renable the figure and terrain drawing code (not working yet)
2021-06-02 23:59:47 -04:00
Imbris
52660e9262
Fix culling of postprocess/cloud triangles
2021-06-02 23:59:47 -04:00
Imbris
cd46a4bd85
Particles compiles and runs (no visuals yet)
2021-06-02 23:59:47 -04:00
Capucho
6530fe99db
Remove the depth buffer from the Third drawer
2021-06-02 23:59:47 -04:00
Capucho
85296c1bb5
Shader fixes
2021-06-02 23:59:47 -04:00
Capucho
9379c4d1dc
Update dependencies
2021-06-02 23:59:47 -04:00
Imbris
dd15e7e7d9
Almost make clouds/postproccess run
2021-06-02 23:59:47 -04:00
Imbris
5af8c24fa0
Render the UIs
2021-06-02 23:59:47 -04:00
Imbris
9587cd0191
Add generic Bound<T> type for grouping consts/other bindable things with bind groups
2021-06-02 23:59:47 -04:00