Commit Graph

274 Commits

Author SHA1 Message Date
Joshua Yanovski
96cf59e901 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-02-22 22:34:02 -05:00
Joshua Yanovski
00d0d8f162 Fix point shadows. 2021-02-22 22:34:02 -05:00
Joshua Yanovski
21370194e8 More frustration with shadows. 2021-02-22 22:31:44 -05:00
Joshua Yanovski
3db52aff84 Various fixes for shadows. 2021-02-22 22:31:44 -05:00
Capucho
c1046b8db1 Fix the shadow drawing code
Very poorly optimized
2021-02-22 22:31:44 -05:00
Capucho
b3d4351229 Re enable sprite rendering 2021-02-22 22:31:44 -05:00
Imbris
d853103889 Fix clouds 2021-02-22 22:31:00 -05:00
Imbris
35923932ba Fix flipping in post-processing stages and precompute the uv in those in the vert shader 2021-02-22 22:31:00 -05:00
Imbris
861c4ad59b Somewhat fix lod, prevent particles spamming new buffers when disabled 2021-02-22 22:31:00 -05:00
Imbris
d2dc3989ea Add skybox 2021-02-22 22:31:00 -05:00
Capucho
6fc916d9a1 Reenable terrain rendering
Refractor col lights
2021-02-22 22:31:00 -05:00
Capucho
1c05315953 Fix the orientation of the rendering
Reenable the rendering of the player
2021-02-22 22:31:00 -05:00
Capucho
2bad1f22b0 Renable the figure and terrain drawing code (not working yet) 2021-02-22 22:30:59 -05:00
Capucho
4be44a53b7 Remove the depth buffer from the Third drawer 2021-02-22 22:30:59 -05:00
Capucho
268b8e6327 Shader fixes 2021-02-22 22:30:59 -05:00
Imbris
3efc88d867 Almost make clouds/postproccess run 2021-02-22 22:26:45 -05:00
Imbris
68efb0d992 Render Ui 2021-02-22 22:26:43 -05:00
Imbris
15b98056c4 fixed validation errors when creating pipelines 2021-02-22 22:25:37 -05:00
Imbris
df955c158a 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-02-22 22:25:37 -05:00
Joshua Barretto
60c16e57b1 Added snow particles 2021-01-31 15:15:17 +00:00
Rotsuoy
994677a4d0 Rotsuoy/savanna grass 2021-01-23 07:46:54 +00:00
Joshua Barretto
a404707f87 Avoid div0 in shiny water shader 2020-12-30 22:18:19 +00:00
Joshua Barretto
49cabfae18 Made LoD water reflective 2020-12-14 16:52:33 +00:00
Joshua Barretto
a5c37262dd Better aurora 2020-12-05 11:20:25 +00:00
Joshua Barretto
e413392694 Better mist access 2020-12-05 11:20:25 +00:00
Joshua Barretto
46dc49bc0a Fixed bit-twiddling colour bug 2020-11-24 18:44:41 +00:00
Monty Marz
d069eb9a57 street lamp particles, ground fire bowl, misc fixes 2020-11-23 10:58:21 +00:00
Joshua Barretto
e461fbd951 Make chimneys glow 2020-11-23 10:58:21 +00:00
Joshua Barretto
4bb0da24b6 Addressed review comments 2020-11-23 10:57:57 +00:00
Joshua Barretto
8fd2e4537d Addressed review comments 2020-11-23 10:57:57 +00:00
Joshua Barretto
bb9e593a44 Fixed glow AO 2020-11-23 10:57:57 +00:00
Joshua Barretto
b4e3dbc719 Added glow tint 2020-11-23 10:57:57 +00:00
Joshua Barretto
d7bbceca2d Added light/glow map sample interpolation for entities 2020-11-23 10:57:56 +00:00
Joshua Barretto
27e7fd0727 Preserved light/glow maps to prevent sprites/entities being lit when they shouldn't be 2020-11-23 10:57:56 +00:00
Joshua Barretto
51d1a2ecff Added glow 2020-11-23 10:57:56 +00:00
Joshua Barretto
a0f0417f8f Fixed close cloud sampling issue 2020-11-23 10:57:56 +00:00
Joshua Barretto
058908f603 Made flamethrower and healing staff emit light on use 2020-11-23 10:57:55 +00:00
Joshua Barretto
5930ca4a59 Temporarily make particles opaque to avoid depth-related rendering problems 2020-11-23 10:57:55 +00:00
Joshua Barretto
7eb437501d Fixed various particle issues 2020-11-23 10:57:55 +00:00
Joshua Barretto
0f2e7434fc Sun, brightness, and gamma adjustments 2020-11-23 10:57:55 +00:00
Joshua Barretto
bcc220804a Added exposure to settings 2020-11-23 10:57:55 +00:00
Joshua Barretto
062ce4b158 Resolved or patches various water shader issues 2020-11-23 10:57:16 +00:00
Joshua Barretto
1e7b9fa9b5 Resolved or patches various water shader issues 2020-11-23 10:57:16 +00:00
Joshua Barretto
86571c9e2e Partially fixed mist 2020-11-23 10:57:15 +00:00
Joshua Barretto
aa59d66a76 Fixed many map problems, re-added surface mist 2020-11-23 10:57:15 +00:00
Joshua Barretto
579bdcf10e Forest soil undulation, better acadia placement 2020-11-23 10:57:15 +00:00
Joshua Barretto
ef03137c65 Better water, shadows, clouds 2020-11-23 10:57:15 +00:00
Joshua Barretto
be1fb5b5d2 Shader quality tweaks 2020-11-23 10:57:15 +00:00
Joshua Barretto
0e8a14250f Minor emissions tweaks 2020-11-23 10:57:15 +00:00
Joshua Barretto
42c6142ec6 Added occasional sky emission at night 2020-11-23 10:57:15 +00:00