IsseW
6d8cbe6f0f
remove relative rain direction and increase FALL_RATE
2022-07-04 18:18:43 +02:00
Imbris
e4dfc7729f
Fix rain being visible indoors by making rpos properly line up with where the rain is being drawn and suppressing any leaks of rain occlusion map via flooring the sampled output
2022-07-04 18:18:41 +02:00
IsseW
e7208c9537
make iterations const
2022-07-04 18:18:41 +02:00
Imbris
a5a082cf41
Also use 4 iterations for medium clouds and adjust the factor multiplied by rain_dist each iteration based on the number of iterations so that the last iteration is always the same.
2022-07-04 18:18:40 +02:00
Imbris
b2d3759105
Cleanup profiling comments and commented code
2022-07-04 18:18:39 +02:00
Imbris
b29bad015c
Misc notes in cloud-frag.glsl
2022-07-04 18:18:39 +02:00
Imbris
5866e23e32
Pre-compute view_mat_inv * proj_mat_inv on the CPU before sending to the cloud shader
2022-07-04 18:18:38 +02: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
5b7b13adce
Add medium check to rain
2022-07-04 18:18:36 +02:00
IsseW
a7c724a46d
Limit figures drawn for rain occlusion
2022-07-04 18:18:35 +02:00
DaforLynx
ac82689f83
Clean up audio code, fix egui bug
2022-07-04 18:18:34 +02:00
IsseW
72a0f56788
better rainbows
2022-07-04 18:18:34 +02:00
IsseW
cb969e5b87
Move atan2 to lod.glsl
2022-07-04 18:11:45 +02:00
IsseW
7752696387
pos_to_uv -> wpos_to_uv
2022-07-04 18:11:44 +02:00
Treeco
0d21361e05
Add player-relative rain direction
2022-07-04 18:11:42 +02:00
IsseW
fa589e915e
make rain view distance smaller, dont put wind in texture
2022-07-04 18:11:41 +02:00
IsseW
fd12c8abdb
Remove dead shader code, clean up weather.rs
2022-07-04 18:10:06 +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
54f958acc7
more correct occlusion
2022-07-04 18:07:16 +02:00
IsseW
234ed5afb2
Rain occlusion projection matrix
2022-07-04 18:07:13 +02:00
Joshua Barretto
295b89d446
Better bias
2022-07-04 18:07:12 +02:00
Joshua Barretto
bfb4769315
Random depth for rain drops for better occlusion
2022-07-04 18:07:11 +02:00
IsseW
79cac935c8
Added rain occlusion
2022-07-04 18:07:11 +02:00
Joshua Barretto
48117988e1
Better rain threshold
2022-07-04 18:07:06 +02:00
Joshua Barretto
767093105f
Rebalanced rain
2022-07-04 18:07:05 +02:00
Joshua Barretto
6093e1972a
Add directional rain back
2022-07-04 18:07:05 +02:00
IsseW
e37f2be820
Put rainbows behind experimental
2022-07-04 18:07:03 +02:00
Joshua Barretto
86814eba04
Made rain look better
2022-07-04 18:07:03 +02:00
Joshua Barretto
502145a6f9
Cloud movement is more prominent
2022-07-04 18:07:01 +02:00
Joshua Barretto
dc90d637c1
Smoother clouds
2022-07-04 18:07:01 +02:00
Joshua Barretto
4181331e6b
Balanced rain density
2022-07-04 18:07:00 +02:00
IsseW
273c5ed2f0
Temporary noise solution
2022-07-04 18:07:00 +02:00
IsseW
67683f315f
Put rain behind expiremental shader
2022-07-04 18:06:59 +02:00
IsseW
9c84a20cef
better sim
2022-07-04 18:06:58 +02:00
IsseW
547301ff5f
rainbows
2022-07-04 18:06:57 +02:00
IsseW
78c1de19cf
More accurate weather sim
2022-07-04 18:04:39 +02:00
IsseW
102156c4b3
Better particle light
2022-07-04 18:11:42 +02:00
IsseW
9cb67e6283
Rain shader
2022-07-04 18:11:41 +02:00
IsseW
b7c0196129
Server weather sim
2022-07-04 18:11:41 +02:00
Imbris
b7096d9f2e
Scale shadow grid to multiple texels per grid cell to make it easier to examine
2022-06-05 16:35:12 -04:00
Imbris
9b78d75f06
Add experimental shader option to visualize shadow map texels
2022-06-05 16:35:12 -04:00
Christof Petig
f12f79439f
fix negative values for RGB and vary dryness and strength according to biome
2022-06-01 22:13:34 +02:00
Christof Petig
827006e7e0
vary color, strength based on position, color on biome
2022-06-01 22:13:34 +02:00
Christof Petig
6ddedecc05
introduce smoke strength and color
2022-06-01 22:13:34 +02:00
Hugo Peixoto
fe11d6d5bc
Split sky shader's twilight into dawn and dusk
...
Instead of having the same color profiles for the sky's color, light,
and halo, we now have the ability to define different values for dawn
and dusk.
The dusk values were unchanged and the dawn values are similar, but with
less red. These should probably be tweaked a bit more.
2022-05-22 19:54:44 +01:00
Joshua Barretto
6ace5adda6
Reduced point light ambiance hack
2022-05-15 16:33:03 +01:00
Joshua Barretto
cc295b483a
Better snow cover
2022-05-15 15:34:36 +01:00
Joshua Barretto
b42ee3fce2
Avoid expense when LoD voxels are disabled
2022-05-11 15:20:19 +01:00