Commit Graph

751 Commits

Author SHA1 Message Date
Isse
68f3c34fc4
fix sprite offset 2024-04-15 14:29:41 +02:00
Joshua Barretto
2f0c83992f Merge branch 'zesterer/morning-light' into 'master'
More ambient light in morning and evening

See merge request veloren/veloren!3954
2024-04-03 20:23:33 +00:00
flo
f8f2684810 easter_and_april_fools_stuff 2024-04-01 06:46:43 +00:00
crabman
47438dd9f5
Fix rope shader panic 2024-03-31 16:30:52 +01:00
Joshua Barretto
a4f4e78ac6 Fixed calculation of LoD normals 2024-03-28 17:39:35 +00:00
Joshua Barretto
0aa034e30a Improve volumetic sampling quality 2024-03-28 16:30:20 +00:00
Joshua Barretto
0b1fabba91 Make LoD voxel effect camera-relative 2024-03-28 15:49:59 +00:00
Joshua Barretto
ddbf92f289 More ambient light in morning and evening 2024-03-28 15:44:15 +00:00
Treeco
62a99f2466 Use real colours for LOD trees and rooftops, lay groundwork for further additions 2024-03-23 17:32:54 +00:00
Joshua Barretto
3c846d4d17 Merge branch 'zesterer/shader-improvements' into 'master'
Shader improvements

See merge request veloren/veloren!4290
2024-03-22 18:40:45 +00:00
Syniis
50905aebfe Mushroom spore particles 2024-02-27 19:28:03 +01:00
Imbris
5434ce546b Fix issue with missing capability when enabling shaderc optimizations
See https://github.com/gfx-rs/wgpu/issues/4915

Also:
* Remove unused vert-out frag-in variables from shaders (naga doesn't
  like this probably because they are optimized out on the fragment
  side). This restriction from naga may be relaxed in the future
  see https://github.com/gfx-rs/wgpu/issues/3748.
* Enable OptimizationLevel::Performance for shaderc by default
* Add a environment variable VOXYGEN_SHADERC_OPTS for disabling this
  (e.g. to test if it actually makes a difference on any platform).
  (TODO: testing might be easier if there was a way to do toggle it
  without restarting...)
2024-02-14 16:36:59 -05:00
Joshua Barretto
9f48a855c4 Improved cloud scale 2024-02-09 22:03:30 +00:00
Joshua Barretto
f1ee52b2cc Better LoD detail 2024-02-09 22:03:30 +00:00
Joshua Barretto
47d502fa56 Better horizon 2024-02-09 22:03:30 +00:00
juliancoffee
1dee12af85 Improve airflow particles 2024-02-08 16:25:39 +02:00
juliancoffee
52328b89d2 rebase 2024-02-08 16:25:39 +02:00
laundmo
283b404724 Working wind/lift particles
+ clippy fixes
2024-02-08 16:25:39 +02:00
Isse
9903d2c545 more testing 2024-01-30 00:52:49 +01:00
flo
48a79b3e78 haniwa 2024-01-20 17:45:23 +00:00
Joshua Barretto
d51b5c5bea Add airship to char select 2024-01-15 22:35:42 +00:00
Darren Salt
dc0725e104 Avoid a wgpu SPIR-V warning about BitFieldUExtract
premultiply-alpha-vert.glsl contains a function unpack() which, without this
change, causes the following warnings:

WARN wgpu_core::device: Failed to parse shader SPIR-V code for Some("premultiply-alpha-vert.glsl …"): UnsupportedInstruction(Function, BitFieldUExtract)
WARN wgpu_core::device:     Proceeding unsafely without validation

This avoids that warning (and removes now-unnecessary type conversions).
2024-01-03 16:33:02 +00:00
Michał
14120232a0 Phoenix overhaul 2023-11-28 11:13:18 +00:00
Isse
db1480b564 put ice_reflections under REFLECTION_MODE_HIGH 2023-11-10 12:53:09 +01:00
Joshua Barretto
84e59c52fb Made portal fizz better convey access 2023-11-08 23:19:02 +01:00
Joshua Barretto
83dc22dfbf Made ice reflective 2023-11-08 23:19:00 +01:00
Isse
7a8e363df1 better way to show glitter 2023-11-02 15:22:32 +01:00
Isse
48d95e7699 SnowGlitter experimental shader 2023-11-02 12:53:34 +01:00
Isse
f98e4331a1 Fix LoD reflections for nvidea + vulkan 2023-10-23 19:48:30 +00:00
Joshua Barretto
7589774967 Renamed tether renderer to rope, fixed tether lengths 2023-10-21 13:51:42 +01:00
Joshua Barretto
a5ec81a2ab Better tether pattern, account for mass 2023-10-21 13:51:41 +01:00
Joshua Barretto
deca7ae258 Finished adding tether graphics 2023-10-21 13:51:40 +01:00
Joshua Barretto
9a72d52c48 Began adding tether visuals 2023-10-21 13:49:04 +01:00
Joshua Barretto
e81516a154 Log shader warnings 2023-10-18 21:50:40 +01:00
Joshua Barretto
cea7636e29 Reverted bad shader changes 2023-10-18 21:20:15 +01:00
Joshua Barretto
321cc030ad Better LoD giant trees 2023-10-18 09:58:00 +01:00
Joshua Barretto
ba763f2da5 Make no terrain pop the default 2023-10-18 09:58:00 +01:00
Joshua Barretto
6a82fcf703 Added block noise to LoD objects 2023-10-18 09:58:00 +01:00
Joshua Barretto
8036ffa374 Removed unnecessary shader code 2023-10-18 09:58:00 +01:00
Joshua Barretto
c07d7a212b Better LoD effects, performance improvements 2023-10-18 09:58:00 +01:00
Joshua Barretto
4d6c3a00f3 Testing better LoD voxelisation techniques 2023-10-18 09:57:59 +01:00
Isse
b6c234b26e fix puddle details 2023-10-15 00:48:37 +02:00
Raul Wagner Costa
46cf1f1914 Linearize light colors on the CPU 2023-10-14 18:10:35 +00:00
Isse
d620206f37 fix reflection mode low 2023-10-14 09:52:46 +02:00
Isse
56175c2730 rename client_time to local_time 2023-10-13 13:17:52 +02:00
Isse
3e19c847f1 use client local time for water 2023-10-12 01:46:43 +02:00
Isse
72db9b61b3 client local time 2023-10-12 01:46:12 +02:00
Isse
472b996c8e Merge branch 'isse/shader-fp-fixes' into 'master'
Shader floating point fixes

See merge request veloren/veloren!4120
2023-10-11 23:04:33 +00:00
Isse
a1afd5c62f fix signs in particle-vert.glsl 2023-10-11 20:46:44 +02:00
Isse
d12f0acd1c fix uses of time of day, which are scaled wrong 2023-10-11 20:39:17 +02:00