Commit Graph

1838 Commits

Author SHA1 Message Date
Imbris
77d4ea9703 Address various TODOs introduced in wgpu transition 2021-05-30 11:51:06 -04:00
Imbris
aa47b960b1 address/remove TODOs, fix comment typos, enable wgpu/trace feature by default (So no recompile is needed to collect an API trace) 2021-05-30 11:51:06 -04:00
Avi Weinstock
2a5e66400f Show hitbox cylinders based on actual ECS data, and add a settings toggle in voxygen for it. 2021-05-30 11:51:06 -04:00
Avi Weinstock
364890653f 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-05-30 11:50:25 -04:00
Imbris
6bcd476cd9 Remove weird syntax in cloud shader that was probably introduced when switching to textureLod 2021-05-30 11:49:41 -04:00
Imbris
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
Imbris
e8874b18c9 Properly account for negative sun_dir.z in pow use in sky shaders 2021-05-30 11:49:41 -04:00
Imbris
8d4bbed6c9 Add localization text for GPU timing checkbox 2021-05-30 11:49:41 -04:00
Imbris
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
Imbris
af1962f11c Remove unused waves texture 2021-05-30 11:49:41 -04:00
Imbris
5b3dbca297 Remove unused shadow bind group from the cloud pipeline 2021-05-30 11:49:41 -04:00
Imbris
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
Synis
3f02e7b743 Fix missing include 2021-05-30 11:49:41 -04:00
Imbris
3e74f87ea3 Cloud and sprite shader fixes after rebase 2021-05-30 11:49:41 -04:00
Imbris
f09f515db2 Fix dx12 shader issues 2021-05-30 11:49:41 -04:00
Imbris
d7b651451b Implement screenshots 2021-05-30 11:49:41 -04:00
Imbris
2de13f3a87 Try out using storage buffer for sprite vertices 2021-05-30 11:49:41 -04:00
Imbris
bed1596985 Fix bugs with sprite rendering 2021-05-30 11:49:41 -04:00
Imbris
0933a87d84 Fix sprite vertex lookup, normalize sprite
normals in vert shader
2021-05-30 11:49:41 -04:00
Imbris
8c3ede3b39 Almost implement instance merging for sprites (validation error), rebase
fix
2021-05-30 11:49:41 -04:00
Imbris
49f03bd325 Start sprite refactor 2021-05-30 11:49:41 -04:00
Imbris
f62718044d Fix texture sampling syntax 2021-05-30 11:49:40 -04:00
Imbris
a1d8265935 Switch to index rendering for most quad-like things 2021-05-30 11:49:40 -04:00
Imbris
e2469152a3 Add setting for the PresentMode 2021-05-30 11:49:40 -04:00
Imbris
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
Imbris
65a864f45b Fix lod alt texture filtering 2021-05-30 11:49:40 -04:00
Imbris
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
Joshua Yanovski
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
Joshua Yanovski
1a1eb0d932 Fix point shadows. 2021-05-30 11:49:40 -04:00
Joshua Yanovski
e974ebfebd More frustration with shadows. 2021-05-30 11:49:40 -04:00
Joshua Yanovski
ffa8f29732 Various fixes for shadows. 2021-05-30 11:49:40 -04:00
Capucho
bbbe4ea368 Fix the shadow drawing code
Very poorly optimized
2021-05-30 11:49:40 -04:00
Capucho
b3985422b1 Re enable sprite rendering 2021-05-30 11:49:40 -04:00
Imbris
2534e65d0e Fix clouds 2021-05-30 11:49:40 -04:00
Imbris
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
Imbris
ec0f4db3d9 Somewhat fix lod, prevent particles spamming new buffers when disabled 2021-05-30 11:49:40 -04:00
Imbris
9da50b3f4d Add skybox 2021-05-30 11:49:40 -04:00
Capucho
d6062dc854 Reenable terrain rendering
Refractor col lights
2021-05-30 11:49:40 -04:00
Capucho
cd60e70664 Fix the orientation of the rendering
Reenable the rendering of the player
2021-05-30 11:49:40 -04:00
Capucho
f6300a6378 Renable the figure and terrain drawing code (not working yet) 2021-05-30 11:49:40 -04:00
Capucho
b4df7e63e8 Remove the depth buffer from the Third drawer 2021-05-30 11:49:40 -04:00
Capucho
2856f2971b Shader fixes 2021-05-30 11:49:40 -04:00
Imbris
a6e8a47ada Almost make clouds/postproccess run 2021-05-30 11:49:40 -04:00
Imbris
617ae80d02 Render Ui 2021-05-30 11:49:40 -04:00
Imbris
2d418f3d69 fixed validation errors when creating pipelines 2021-05-30 11:49:40 -04:00
Imbris
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
Avi Weinstock
3684cf0454 Fix economy data not properly being used to price trades, resulting in default prices being applied at most towns.
Also add an exporter from econsim results to sqlite to aid in debugging the economy (which revealed this bug).
2021-05-28 15:09:29 -04:00
Justin Shipsey
d7c7f6bf5d Merge branch 'sam/rework-bow' into 'master'
Bow Rework

See merge request veloren/veloren!2310
2021-05-26 04:44:09 +00:00
juliancoffee
c618ec7222 fmt 2021-05-25 01:23:32 +03:00
juliancoffee
2d56b5dcde Unique loot tables for each dungeon chest 2021-05-25 00:42:43 +03:00