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
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
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
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
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
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
9cb67e6283
Rain shader
2022-07-04 18:11:41 +02:00
Joshua Barretto
8888190eb4
Added BareMinimum shader effect
2022-02-09 12:56:21 +00:00
Joshua Barretto
fb2b9929a6
Unified and fixed attenuation
2022-01-23 16:25:15 +00:00
Joshua Barretto
31b9cd0565
Fix for translucency blocking clouds
2022-01-21 17:29:59 +00:00
Joshua Barretto
3b347a2aa3
Improved underwater lighting on low shader settings
2022-01-21 13:35:40 +00:00
Joshua Barretto
c17abb93f1
Fixed shader compilation error
2022-01-21 00:50:14 +00:00
Joshua Barretto
5b606f0d50
Significantly improved underwater shaders
2022-01-21 00:42:20 +00:00
Joshua Barretto
c2644d8e71
Fixed interaction between bloom and point glow
2022-01-20 22:30:05 +00:00
Joshua Barretto
fcd25648fe
Fixed point glow with no clouds
2022-01-19 20:08:13 -05:00
Joshua Barretto
391d1f6bf4
Added point glow
2022-01-19 19:59:13 -05:00
Joshua Yanovski
5500435d2f
Revert "Replace shaderc with naga"
...
This reverts commit 446d93dda0
.
2021-09-04 11:59:18 -07:00
João Capucho
446d93dda0
Replace shaderc with naga
2021-08-31 22:53:10 +01:00
Imbris
7f9ba17dee
Remove unused shadow bind group from the cloud pipeline
2021-06-03 00:10:05 -04:00
Joshua Yanovski
93568754a0
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-06-02 23:59:48 -04:00
Joshua Yanovski
c97a42fdb7
Various fixes for shadows.
2021-06-02 23:59:48 -04:00
Capucho
23f1144fe2
Fix the shadow drawing code
...
Very poorly optimized
2021-06-02 23:59:48 -04:00
Imbris
f30588ea94
Fix flipping in post-processing stages and precompute the uv in those in the vert shader
2021-06-02 23:59:48 -04:00
Imbris
553c1c18a9
Add skybox
2021-06-02 23:59:48 -04:00
Capucho
0db2a35955
Fix the orientation of the rendering
...
Reenable the rendering of the player
2021-06-02 23:59:47 -04:00
Imbris
da0423ab2a
Almost make clouds/postproccess run
2021-06-02 23:59:47 -04:00
Imbris
f540366676
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-06-02 23:56:43 -04:00
Joshua Barretto
171ef1d7b9
Upscaling support
2020-11-15 22:18:35 +00:00