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
Isse
65e6eb4e38
add comments explaining the elements of time_of_day and tick in shaders
2023-10-11 20:29:37 +02:00
maxicarlos08
8a5f237e9c
Frost gigas tweaks
2023-10-08 11:35:01 +00:00
Isse
7d37646dac
renames and comments
2023-10-07 19:53:55 +02:00
Isse
2eae780e71
vectorize wave functions
2023-10-07 19:53:55 +02:00
Isse
bc436e2c9f
make particles only use 1 float for inst time again
2023-10-07 19:53:55 +02:00
Isse
a152e4dfb4
time-proof usages of tick
2023-10-07 19:53:55 +02:00
Isse
6d4be9bd01
time proof time of day in shaders
2023-10-07 19:53:55 +02:00
Maxicarlos08
f2958954b9
new model for portal & use cultist particles
2023-08-27 19:40:49 +02:00
Maxicarlos08
0c9a942027
refactor teleporter system and include nearby pets
2023-08-15 12:24:49 +02:00
Maxicarlos08
bb2034ca92
portal particles
2023-08-15 12:24:48 +02:00
flo
57fe2c4adb
spawn wyverns
2023-08-02 07:55:10 +00:00
Joshua Barretto
ffabace13d
Fixed bloom sample UV, added Cinematic shader
2023-06-28 12:21:16 +01:00
Avi Weinstock
d023f9db54
Only bind the materials texture in the postprocess bindgroup if it's needed.
2023-06-07 16:21:28 -04:00
Avi Weinstock
025831d9a2
Add GradientSobel
experimental filter that adds object outlines based on the normal map.
2023-06-07 15:39:57 -04:00
Joshua Barretto
2064ad5d80
Added color dither
2023-05-31 19:10:09 +01:00
Joshua Barretto
2a9e43b847
Draw distinction between bilinear filtering and nearest neighbour
2023-05-31 18:26:53 +01:00
Joshua Barretto
b2051767ff
More experimental shaders
2023-05-31 17:07:22 +01:00
Joshua Barretto
2219797142
Merge branch 'zesterer/shader-block-kinds' into 'master'
...
Added support for block kinds in shaders
See merge request veloren/veloren!3932
2023-05-21 17:19:51 +00:00
Joshua Barretto
423e6f0348
Adjusted particle offset
2023-05-19 15:05:18 +01:00
Joshua Barretto
2893f400f8
Better particle lighting
2023-05-19 14:58:59 +01:00
Joshua Barretto
4961ca2f6d
Fixed particle effect UB
2023-05-19 14:46:22 +01:00
Joshua Barretto
c73848b932
Fixed minor issues with walls, better particles
2023-05-19 14:25:49 +01:00
Joshua Barretto
c94d6c502a
Added one-way wall sprites
2023-05-19 13:24:45 +01:00
Joshua Barretto
a634da2d07
Addressed review comments
2023-05-17 22:22:54 +01:00
Joshua Barretto
aeb72bcf22
Added support for block kinds in shaders
2023-05-15 17:31:21 +01:00
Joshua Barretto
4253833aaf
Add photorealistic experimental shader
2023-05-12 14:02:23 +01:00
Joshua Barretto
1924c67033
Adjusted night ambience
2023-05-12 13:47:01 +01:00
Isse
f6f332af6a
send full matrix to shader
2023-05-09 19:43:10 +02:00
Isse
c4cffff92f
apply shader changes from zesterer
2023-05-09 19:43:10 +02:00
Isse
1710dcc111
fix shadows
2023-05-09 19:43:09 +02:00
Isse
fcb7011cde
sprites on volumes
2023-05-09 19:43:09 +02:00
Joshua Barretto
79dd1e2629
Fixed ambient lighting
2023-05-04 19:57:28 +01:00
Isse
1494d93fc8
fix cloud tearing
2023-04-19 22:46:35 +02:00
Isse
1442dd29f1
fix NaN issue in apply_point_glow_light
2023-04-19 21:14:19 +02:00
Isse
4b831f884e
reduce the offset of clouds on the horizon
2023-04-19 21:01:30 +02:00
Imbris
b58a8a9ec3
Ensure in-world UI elements are snapped to pixel borders.
2023-04-13 00:10:12 -04:00
Samuel Keiffer
7aa43e9e8a
Merge branch 'taoist/better-dullahan' into 'master'
...
taoist&floppy/cyclops&dullahan
See merge request veloren/veloren!3859
2023-04-12 22:53:38 +00:00
Tao In Way
e32460f9ee
taoist&floppy/cyclops&dullahan
2023-04-12 22:53:38 +00:00
Joshua Barretto
efbab102a5
Make LoD towns glow
2023-04-09 19:25:58 +01:00
Imbris
5881e44e61
Address review on 3573
2023-04-08 02:19:14 -04:00
Imbris
2a9a63a60e
Clippy fixes
2023-04-08 00:51:50 -04:00
Imbris
63096b2042
Complete GPU based alpha premultiplication impl and make the CPU version
...
even faster.
* GPU based version started in previous commit, but this fixes errors
and bugs and gets it actually compiling and running.
* Add a way to batch together images to use the same render pass for GPU
premultiplication if they all target the same texture.
* Pending premultiplication uploads are automatically done when calling
`Drawer::third_pass`.
* `fast-srgb8` dep removed, we no longer convert to `f32`s to do the
premultiplication. Two `[u16; 256]` tables are combined to compute the
alpa premultiplied color within the same error bounds used by the
`fast-srgb8` crate. We also no longer use explicit simd.
* Remove explicit lifetimes from `PlayState::render` since `&self` and
`Drawer<'_>` don't need to have the same lifetime.
* Fix existing bug where invalidated cache entries were never set to
valid when reusing them.
* `prepare_graphic` now runs some heuristics to determine whether
premultiplication should be executed CPU side or GPU side and then
returns a bool indicating if GPU premultiplication is needed.
2023-04-08 00:28:31 -04:00