Commit Graph

349 Commits

Author SHA1 Message Date
6bcd476cd9 Remove weird syntax in cloud shader that was probably introduced when switching to textureLod 2021-05-30 11:49:41 -04:00
2c074ac52b Make shadow vert shaders always contain their content but ensure they are never used when shadow maps are disabled, remove uneeded shadow frag shader 2021-05-30 11:49:41 -04:00
e8874b18c9 Properly account for negative sun_dir.z in pow use in sky shaders 2021-05-30 11:49:41 -04:00
df90dab3da Remove commented out sprite code, including the code for getting verts for sprites with a texture rather than a storage buffer 2021-05-30 11:49:41 -04:00
af1962f11c Remove unused waves texture 2021-05-30 11:49:41 -04:00
5b3dbca297 Remove unused shadow bind group from the cloud pipeline 2021-05-30 11:49:41 -04:00
62db5e5a69 Comment out lod depth tweaks not designed for reverse depth, convert waves image to rgba before constructing a texture, misc fix after rebase 2021-05-30 11:49:41 -04:00
3f02e7b743 Fix missing include 2021-05-30 11:49:41 -04:00
3e74f87ea3 Cloud and sprite shader fixes after rebase 2021-05-30 11:49:41 -04:00
f09f515db2 Fix dx12 shader issues 2021-05-30 11:49:41 -04:00
d7b651451b Implement screenshots 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
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
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
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
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
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
b3985422b1 Re enable sprite rendering 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
9da50b3f4d Add skybox 2021-05-30 11:49:40 -04:00
d6062dc854 Reenable terrain rendering
Refractor col lights
2021-05-30 11:49:40 -04:00
cd60e70664 Fix the orientation of the rendering
Reenable the rendering of the player
2021-05-30 11:49:40 -04:00
f6300a6378 Renable the figure and terrain drawing code (not working yet) 2021-05-30 11:49:40 -04:00
b4df7e63e8 Remove the depth buffer from the Third drawer 2021-05-30 11:49:40 -04:00
2856f2971b Shader fixes 2021-05-30 11:49:40 -04:00
a6e8a47ada Almost make clouds/postproccess run 2021-05-30 11:49:40 -04:00
617ae80d02 Render Ui 2021-05-30 11:49:40 -04:00
2d418f3d69 fixed validation errors when creating pipelines 2021-05-30 11:49:40 -04:00
3b9e89c085 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-05-30 11:49:40 -04:00
Sam
7acd953923 Changed particles to a switch statement. 2021-05-10 19:58:32 -05:00
Sam
5fa4358e74 Clay golem attacks done. 2021-05-10 18:53:01 -05:00
Sam
164fd0de04 Particles for frenzy buff and ground cleave. 2021-05-04 08:45:10 -04:00
559e16e035 Apply flat earth hack to mist 2021-04-25 23:28:19 +01:00
3e4afc5a45 Capped light access 2021-04-25 22:49:20 +01:00
98f660e486 More realistic cloud light extinction model 2021-04-25 22:26:07 +01:00
fa262d2a5c Fixed near cloud bug 2021-04-25 20:04:00 +01:00
Sam
d2d8d43410 Addressed testing feedback.
Particles better.
2021-04-25 13:09:08 -04:00
19184a49a7 Made the pit of tartarus less bad 2021-04-21 22:18:44 +01:00
81ba200e48 Improve dynamic light reflection for hill climbing 2021-04-21 17:10:53 +01:00