Commit Graph

1310 Commits

Author SHA1 Message Date
Imbris
c7a4b93c90 Fix bugs with sprite rendering 2021-02-22 22:35:39 -05:00
Imbris
3312cb03b3 Update wgpu to fix segfault, fix sprite vertex lookup, normalize sprite
normals in vert shader
2021-02-22 22:35:39 -05:00
Imbris
3a6a96b70b Almost implement instance merging for sprites (validation error and segfault) 2021-02-22 22:35:39 -05:00
Imbris
0ba1fe6a7d Start sprite refactor 2021-02-22 22:35:39 -05:00
Imbris
a328db1d35 Add setting for the PresentMode 2021-02-22 22:35:38 -05:00
Imbris
09aa528769 fix nametag depth culling as well as a tweak to maybe make the main menu not flicker on intel iGPU 2021-02-22 22:35:38 -05:00
Imbris
7fe2b9e7b0 Fix lod alt texture filtering 2021-02-22 22:35:38 -05:00
Joshua Yanovski
96cf59e901 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-02-22 22:34:02 -05:00
Joshua Yanovski
00d0d8f162 Fix point shadows. 2021-02-22 22:34:02 -05:00
Joshua Yanovski
21370194e8 More frustration with shadows. 2021-02-22 22:31:44 -05:00
Joshua Yanovski
3db52aff84 Various fixes for shadows. 2021-02-22 22:31:44 -05:00
Capucho
c1046b8db1 Fix the shadow drawing code
Very poorly optimized
2021-02-22 22:31:44 -05:00
Capucho
b3d4351229 Re enable sprite rendering 2021-02-22 22:31:44 -05:00
Imbris
d853103889 Fix clouds 2021-02-22 22:31:00 -05:00
Imbris
35923932ba Fix flipping in post-processing stages and precompute the uv in those in the vert shader 2021-02-22 22:31:00 -05:00
Imbris
861c4ad59b Somewhat fix lod, prevent particles spamming new buffers when disabled 2021-02-22 22:31:00 -05:00
Imbris
d2dc3989ea Add skybox 2021-02-22 22:31:00 -05:00
Capucho
6fc916d9a1 Reenable terrain rendering
Refractor col lights
2021-02-22 22:31:00 -05:00
Capucho
1c05315953 Fix the orientation of the rendering
Reenable the rendering of the player
2021-02-22 22:31:00 -05:00
Capucho
2bad1f22b0 Renable the figure and terrain drawing code (not working yet) 2021-02-22 22:30:59 -05:00
Capucho
4be44a53b7 Remove the depth buffer from the Third drawer 2021-02-22 22:30:59 -05:00
Capucho
268b8e6327 Shader fixes 2021-02-22 22:30:59 -05:00
Imbris
3efc88d867 Almost make clouds/postproccess run 2021-02-22 22:26:45 -05:00
Imbris
68efb0d992 Render Ui 2021-02-22 22:26:43 -05:00
Imbris
15b98056c4 fixed validation errors when creating pipelines 2021-02-22 22:25:37 -05:00
Imbris
df955c158a 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-02-22 22:25:37 -05:00
Imbris
f33d3873b4 Merge branch 'aweinstock/modular-weapon-rigging' into 'master'
Support modular weapon voxel meshes being made by assembling their components.

See merge request veloren/veloren!1806
2021-02-23 00:45:26 +00:00
Avi Weinstock
c3ac8a1b51 Support modular weapon voxel meshes being made by assembling their components. 2021-02-23 00:45:26 +00:00
Marcel
6081ebbe15 Merge branch 'sam/ecs-sys-struct' into 'master'
Sam/ecs sys struct

See merge request veloren/veloren!1813
2021-02-23 00:08:09 +00:00
Marcel
72bd0f42fc Merge branch 'xMAC94x/prot_improvements' into 'master'
xMAC94x/prot_improvements

See merge request veloren/veloren!1796
2021-02-22 22:47:43 +00:00
Justin Shipsey
56f8e66d5d Merge branch 'steanne-master-patch-91284' into 'master'
Update _manifest.ron for minor typos in villager statements

See merge request veloren/veloren!1807
2021-02-22 22:10:38 +00:00
Sam
2b5120319d Character behavior system now uses immutable data struct 2021-02-22 15:30:53 -05:00
Snowram
684961b15c Adds look_dir to anims, humanoid heads pivot fixes 2021-02-22 20:00:06 +01:00
Marcel Märtens
3f5c64bec0 Client::new can now resolve DNS requests, better networking error messages 2021-02-22 17:35:19 +01:00
steanne
838a0d8928 Update _manifest.ron for minor typos in villager statements 2021-02-22 00:04:02 +00:00
Sam
f5a74b4f33 Removed duplicate possess stick 2021-02-20 17:12:27 -05:00
Avi Weinstock
8bdbf4f7c9 Implement modular weapons.
- Add ItemKind::ModularComponent, Item::components.
- Add tool::StatKind::{Direct,Modular} for the modular weapons themselves.
- Move ItemConfig from ItemDesc to Item, so components' stats can be taken into account.
- Crafting stores into the components field.
- Components/recipes/placeholders are created dynamically.
- Show which components a modular weapon contains in the tooltip in voxygen.

Squashed fixes:
- `Item::duplicate` components in `Item::new_from_item_def`.
- Speed of 1.0 for now.
2021-02-20 14:30:39 -05:00
Samuel Keiffer
479cf9fc4e Merge branch 'sam/dual-wielding' into 'master'
Dual wielding backend

See merge request veloren/veloren!1787
2021-02-20 05:12:17 +00:00
Sam
eaf3e02e39 Addressed comments
Fixed audio test
2021-02-19 19:55:23 -05:00
Sam
cfadd6da04 Added 1h swords. 2021-02-19 19:33:26 -05:00
Sam
d5ccc33abc Factored out duplicate code into closures, consolidated ability handling logic to a single function. 2021-02-19 18:45:48 -05:00
Sam
bbfcde5e59 Re-deleted duplicate weapons that somehow reappeared. 2021-02-19 17:30:24 -05:00
Sam
411b4083b1 Added 1h hammers.
Fixed audio tests.
2021-02-19 17:30:24 -05:00
Sam
50cbe42b07 Added one-handed axes. 2021-02-19 17:30:23 -05:00
Sam
12545dd372 Added handedness to weapon tooltips. 2021-02-19 17:30:23 -05:00
Sam
8f0cca074d Dual wielding now uses skillbar abilities from multiple weapons. 2021-02-19 17:30:22 -05:00
Sam
fc01e9ea68 Handedness of weapons affects power and speed. 2021-02-19 17:30:21 -05:00
Sam
582c3f8459 Check for prerequisite skill in using an ability is no longer hardcoded. 2021-02-19 17:30:21 -05:00
Sam
341affdae2 Added hands field to all ron files of weapons.
Removed weapons that were duplicated in weapons and npc_weapons from npc_weapons.
Added migration to convert npc_weapons that ended up in anyone's inventory to weapon version.
Consolidated debug boost and possess sticks into one debug_stick, and renamed the admin sword (with name cultist_purp_2h_boss-0) to admin_sword
2021-02-19 17:30:20 -05:00
Avi Weinstock
559ad7b7f5 Client-side trade improvements.
- Add item tooltips in trade.
- More localization support.
- Fix bindings (R for trade, B for bag).
2021-02-19 15:20:27 -05:00