Commit Graph

334 Commits

Author SHA1 Message Date
Synis
9ad6cc1da5 Fix missing include 2021-04-22 18:59:46 -04:00
Imbris
29169ea236 Cloud and sprite shader fixes after rebase 2021-04-22 18:59:46 -04:00
Imbris
0e77af3cda Fix dx12 shader issues 2021-04-22 18:59:46 -04:00
Imbris
c7473fd843 Implement screenshots 2021-04-22 18:59:46 -04:00
Imbris
3dcc983819 Try out using storage buffer for sprite vertices 2021-04-22 18:59:46 -04:00
Imbris
deffca1513 Fix bugs with sprite rendering 2021-04-22 18:59:46 -04:00
Imbris
d317a1a1cc Fix sprite vertex lookup, normalize sprite
normals in vert shader
2021-04-22 18:59:45 -04:00
Imbris
b85e9eae89 Almost implement instance merging for sprites (validation error), rebase
fix
2021-04-22 18:59:45 -04:00
Imbris
cfd8606b04 Start sprite refactor 2021-04-22 18:59:45 -04:00
Imbris
8d5d4223d0 Fix texture sampling syntax 2021-04-22 18:59:45 -04:00
Imbris
7c502c26bf Switch to index rendering for most quad-like things 2021-04-22 18:59:45 -04:00
Imbris
6ebbbd408d fix nametag depth culling as well as a tweak to maybe make the main menu not flicker on intel iGPU 2021-04-22 18:59:45 -04:00
Imbris
3b1ea02bc5 Fix lod alt texture filtering 2021-04-22 18:59:45 -04:00
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
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
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
732e0fa483 Re enable sprite rendering 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
c943600274 Add skybox 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
8063730872 Renable the figure and terrain drawing code (not working 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
Imbris
b3eab70fb2 Almost make clouds/postproccess run 2021-04-22 18:59:43 -04:00
Imbris
42770c2f89 Render Ui 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
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
Joshua Barretto
19184a49a7 Made the pit of tartarus less bad 2021-04-21 22:18:44 +01:00
Joshua Barretto
81ba200e48 Improve dynamic light reflection for hill climbing 2021-04-21 17:10:53 +01:00
Joshua Barretto
11ba02130c Made sprite/block selection effect more subtle 2021-04-20 02:46:07 +02:00
Joshua Barretto
483276b082 Made sprite/block selection effect more subtle 2021-04-20 02:46:06 +02:00
Joshua Barretto
4ad5257e40 Rebalanced mist 2021-04-19 22:26:56 +01:00
Joshua Barretto
86287e8f0a Fixed negative cloud density bug 2021-04-19 22:02:47 +01:00
Joshua Barretto
f0f3da529b Fixed water shader, sky shader 2021-04-19 14:42:49 +01:00
Joshua Barretto
8f3233365d Improved hit particles 2021-03-29 21:52:05 +01:00
Joshua Barretto
b0acbda236 Improved archery with feedback sfx and particles 2021-03-29 21:52:04 +01:00
Joshua Barretto
b660c53b4c Revert to old sky colours for no clouds 2021-03-28 17:07:41 +01:00
Joshua Barretto
34a7667410 Toned down aurora 2021-03-28 17:07:41 +01:00
Joshua Barretto
f16c2b8b4c Made clouds adjust to world dimensions correctly 2021-03-28 17:02:17 +01:00
Joshua Barretto
d8117b3b3d Make caves and rtsim entities scale with map size, more cloud detail 2021-03-28 17:02:16 +01:00
Joshua Barretto
0bed52f63c Properly simulate atmospheric scattering 2021-03-28 17:01:53 +01:00
Joshua Barretto
d53042c852 Client-side time of day interpolation 2021-03-28 17:01:53 +01:00
Joshua Barretto
19ef00085d Softer and faster clouds with more verticality 2021-03-28 17:01:51 +01:00
Sam
f1156c9ce5 Added necrotic vortex attack to mindflayer 2021-03-27 21:05:03 -04:00