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
Isse
9903d2c545
more testing
2024-01-30 00:52:49 +01:00
Isse
db1480b564
put ice_reflections under REFLECTION_MODE_HIGH
2023-11-10 12:53:09 +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
Joshua Barretto
e81516a154
Log shader warnings
2023-10-18 21:50:40 +01:00
Joshua Barretto
c07d7a212b
Better LoD effects, performance improvements
2023-10-18 09:58:00 +01:00
Isse
b6c234b26e
fix puddle details
2023-10-15 00:48:37 +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
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
Isse
f6f332af6a
send full matrix to shader
2023-05-09 19:43:10 +02:00
Isse
fcb7011cde
sprites on volumes
2023-05-09 19:43:09 +02:00
Joshua Barretto
c12e6426fa
Fixed rain drop normals and wind direction for sprites
2023-01-15 19:13:18 +00:00
Joshua Barretto
0bdc66b10a
Addressed review comments, minor fixes
2023-01-12 15:30:13 +00:00
Joshua Barretto
4bd7ec26d3
Fixed drop shadows
2022-12-30 17:01:26 +00:00
Joshua Barretto
26a98a3d9b
Use normal and material gbuffer to improve quality of SSR
2022-12-30 15:33:23 +00:00
Avi Weinstock
f5c1293e9f
Address review comments for MR 3679:
...
- Fix normal vectors/lighting for train tracks.
- Adjust chat command logging statement.
- Remove train tracks when their chunks get unloaded.
- Create a struct for the 6-tuple returned from `get_nearest_ways`.
- Move code that creates the train tracks into `layers::apply_trains_to`.
2022-11-03 15:20:53 -04:00
Joshua Barretto
428816c65e
Addressed review comments
2022-10-23 23:54:55 +01:00
Joshua Barretto
40e47b4f3e
Added reflection mode settings
2022-10-23 20:03:21 +01:00
Joshua Barretto
b85fd11443
Added refraction
2022-10-23 15:15:25 +01:00
Joshua Barretto
c072dc4082
Place puddle details behind extra experimental shader
2022-10-23 01:42:01 +01:00
Joshua Barretto
d0894a189e
Added SSR to wet surfaces
2022-10-23 01:42:01 +01:00
Joshua Barretto
ae66432a1e
Make cheap water look better underwater
2022-10-23 01:42:01 +01:00
Joshua Barretto
81ac4f9125
Various water-related lighting fixes
2022-10-23 01:42:00 +01:00
Joshua Barretto
30de7b4fb8
Better attenuation
2022-10-23 01:42:00 +01:00
Joshua Barretto
3f2efea4f2
Experimental river velocity in shaders
2022-10-23 01:42:00 +01:00
Joshua Barretto
34522b39bd
Balance caustics with depth better
2022-09-22 23:45:16 +01:00
Joshua Barretto
b48b3eea02
Improved caustic shaders
2022-09-22 21:12:20 +01:00
Joshua Barretto
0b16baf46a
Improved rain performance
2022-07-16 14:44:58 +01:00
Joshua Barretto
ea39f78dfd
Minimised rain occlusion problems
2022-07-16 11:14:12 +01:00
Joshua Barretto
b08a501aef
Cleaned up ready for merge
2022-07-16 11:09:35 +01:00
Joshua Barretto
61792d4135
Apply AO
2022-07-15 08:43:34 +01:00
Joshua Barretto
2694f5f917
Fixed lava
2022-07-15 08:43:34 +01:00
Joshua Barretto
07ba4dcc33
Fixed particles for non-body entities, AO for non-volumetric illumination
2022-07-15 08:43:34 +01:00
Joshua Barretto
b5662163f0
Better lighting and verticality in caves
2022-07-15 08:43:33 +01:00
Joshua Barretto
f48665366b
More lightning position variety
2022-07-13 21:45:37 +01:00
Joshua Barretto
25c55b6a25
Better rain performance, wetness
2022-07-13 18:34:34 +01:00
Joshua Barretto
4e854a28ff
Fixed occlusion bias
2022-07-10 16:56:45 +01:00
Joshua Barretto
4b738c8b8f
Balanced rain intensity
2022-07-08 20:22:09 +01:00
Joshua Barretto
6c4b10d881
Use existing humidity
2022-07-08 20:18:07 +01:00
Joshua Barretto
32fe997506
Use tilted origin for rain
2022-07-08 16:07:15 +01:00
IsseW
e2969dc5f9
turn off rain for CLOUD_MODE_NONE and adjust iterations
2022-07-04 18:18:38 +02:00
IsseW
80e29e2c20
put rain_density in uniform
2022-07-04 18:18:37 +02:00
IsseW
b82bb5b247
Don't have rain be behind an expiremental shader
2022-07-04 18:07:22 +02:00
IsseW
3eabe24f12
base occlusion texture size of off voxels
2022-07-04 18:07:19 +02:00
IsseW
79cac935c8
Added rain occlusion
2022-07-04 18:07:11 +02:00
Joshua Barretto
86814eba04
Made rain look better
2022-07-04 18:07:03 +02:00