Imbris
2b8eaae572
Update wgpu, cleanup a bit of commented shader code, improve sprite LOD selection code
2021-06-03 00:10:06 -04:00
Imbris
01aa6af1fd
Address various TODOs introduced in wgpu transition
2021-06-03 00:10:06 -04:00
Imbris
8403e4c483
address/remove TODOs, fix comment typos, enable wgpu/trace feature by default (So no recompile is needed to collect an API trace)
2021-06-03 00:10:06 -04:00
Avi Weinstock
7b04599a3b
Implement a Debug pipeline for hitboxes and pathfinding lines.
...
- Implements mesh generation for cylinders and lines.
- Implements an Id-allocator so that clients can mutate positions efficiently.
- Is split into pipeline and scene modules.
- Contains simple shaders that just pass through a position and color.
2021-06-03 00:10:06 -04:00
Imbris
b84c8b2915
Remove weird syntax in cloud shader that was probably introduced when switching to textureLod
2021-06-03 00:10:06 -04:00
Imbris
5749983868
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-06-03 00:10:06 -04:00
Imbris
d7683673ee
Properly account for negative sun_dir.z in pow use in sky shaders
2021-06-03 00:10:06 -04:00
Imbris
9ec4fd5b4b
Remove commented out sprite code, including the code for getting verts for sprites with a texture rather than a storage buffer
2021-06-03 00:10:06 -04:00
Imbris
9be424de53
Remove unused waves texture
2021-06-03 00:10:05 -04:00
Imbris
7f9ba17dee
Remove unused shadow bind group from the cloud pipeline
2021-06-03 00:10:05 -04:00
Imbris
77689d1420
Comment out lod depth tweaks not designed for reverse depth, convert waves image to rgba before constructing a texture, misc fix after rebase
2021-06-02 23:59:50 -04:00
Synis
c7cab3e19e
Fix missing include
2021-06-02 23:59:50 -04:00
Imbris
086ea42ad7
Cloud and sprite shader fixes after rebase
2021-06-02 23:59:50 -04:00
Imbris
aa1e292b03
Fix dx12 shader issues
2021-06-02 23:59:50 -04:00
Imbris
577caa3047
Implement screenshots
2021-06-02 23:59:50 -04:00
Imbris
64398f6c0a
Try out using storage buffer for sprite vertices
2021-06-02 23:59:50 -04:00
Imbris
b9931588e4
Fix bugs with sprite rendering
2021-06-02 23:59:50 -04:00
Imbris
a90373604e
Fix sprite vertex lookup, normalize sprite
...
normals in vert shader
2021-06-02 23:59:50 -04:00
Imbris
8d63446300
Almost implement instance merging for sprites (validation error), rebase
...
fix
2021-06-02 23:59:50 -04:00
Imbris
0f1c4080c4
Start sprite refactor
2021-06-02 23:59:49 -04:00
Imbris
ad2b6c9014
Fix texture sampling syntax
2021-06-02 23:59:49 -04:00
Imbris
a8851b6561
Switch to index rendering for most quad-like things
2021-06-02 23:59:49 -04:00
Imbris
2f69c41b00
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
261fd24dfd
Fix lod alt texture filtering
2021-06-02 23:59:49 -04:00
Imbris
c532f50e64
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
Joshua Yanovski
93568754a0
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
adf3f83b4b
Fix point shadows.
2021-06-02 23:59:48 -04:00
Joshua Yanovski
868293a802
More frustration with shadows.
2021-06-02 23:59:48 -04:00
Joshua Yanovski
c97a42fdb7
Various fixes for shadows.
2021-06-02 23:59:48 -04:00
Capucho
23f1144fe2
Fix the shadow drawing code
...
Very poorly optimized
2021-06-02 23:59:48 -04:00
Capucho
b6c37be299
Re enable sprite rendering
2021-06-02 23:59:48 -04:00
Imbris
97bed5752b
Fix clouds
2021-06-02 23:59:48 -04:00
Imbris
f30588ea94
Fix flipping in post-processing stages and precompute the uv in those in the vert shader
2021-06-02 23:59:48 -04:00
Imbris
bae0310cc7
Somewhat fix lod, prevent particles spamming new buffers when disabled
2021-06-02 23:59:48 -04:00
Imbris
553c1c18a9
Add skybox
2021-06-02 23:59:48 -04:00
Capucho
1083d04c73
Reenable terrain rendering
...
Refractor col lights
2021-06-02 23:59:48 -04:00
Capucho
0db2a35955
Fix the orientation of the rendering
...
Reenable the rendering of the player
2021-06-02 23:59:47 -04:00
Capucho
1668e834f8
Renable the figure and terrain drawing code (not working yet)
2021-06-02 23:59:47 -04:00
Capucho
4c83e19c83
Remove the depth buffer from the Third drawer
2021-06-02 23:59:47 -04:00
Capucho
2c7d49b69f
Shader fixes
2021-06-02 23:59:47 -04:00
Imbris
da0423ab2a
Almost make clouds/postproccess run
2021-06-02 23:59:47 -04:00
Imbris
124d69d7ad
Render Ui
2021-06-02 23:59:45 -04:00
Imbris
97ca278d89
fixed validation errors when creating pipelines
2021-06-02 23:56:43 -04:00
Imbris
f540366676
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-06-02 23:56:43 -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
Joshua Barretto
559e16e035
Apply flat earth hack to mist
2021-04-25 23:28:19 +01:00
Joshua Barretto
3e4afc5a45
Capped light access
2021-04-25 22:49:20 +01:00
Joshua Barretto
98f660e486
More realistic cloud light extinction model
2021-04-25 22:26:07 +01:00