Commit Graph

29 Commits

Author SHA1 Message Date
Rezmason
0c26cc7660 Moving assets into a subdirectory. 2021-10-29 12:21:40 -07:00
Rezmason
6b317af0bb Broke ground on webgpu version.
Split regl_main.js off of main.js, which now detects navigator.gpu. If it exists, it initializes webgpu_main instead.
2021-10-27 19:04:02 -07:00
Rezmason
348c384de5 More small config tweaks to paradise matrix. 2021-10-23 01:54:09 -07:00
Rezmason
7f42280eeb More small config tweaks. 2021-10-23 01:38:05 -07:00
Rezmason
a979e87564 More tweaks to Resurrections version. 2021-10-23 01:12:50 -07:00
Rezmason
cf5f8c2113 Simplifying rainPass.compute's weirder operations. 2021-10-23 01:12:31 -07:00
Rezmason
1a97861fed Resurrections version now vertically spaces the glyphs (groan). 2021-10-22 22:57:14 -07:00
Rezmason
6d8f5ba41a Overhauled the rainPass's support for the "operator" version of the effect. It now overrides the brightness of any glyph brighter than a threshold, which I think is a much clearer concept.
Also changed the way the glyphs cycle in the "operator" version, after noticing they only change once every four or five frames in the original effect.
2021-10-22 08:38:37 -07:00
Rezmason
d285697640 Documenting the passes and config variables. 2021-10-20 21:50:01 -07:00
Rezmason
91deea34d6 Ran all the JS through prettier. 2021-10-20 03:25:04 -07:00
Rezmason
3630c6adb0 Tuning the resurrections version. 2021-10-20 00:13:55 -07:00
Rezmason
80f5aea2a3 Adding support for "resurrecting" volumetric code, which is rendered to a separate channel and can be given separate colors. 2021-09-19 21:52:04 -07:00
Rezmason
7910ca0553 Added backgroundColor support and improved stripe colors handling in config. 2021-09-12 00:50:51 -07:00
Rezmason
51f1b6ebf5 Updating the README.md. Renaming "threedee" to "volumetric". 2021-09-06 17:23:54 -07:00
Rezmason
99591e1186 Old and new matrix rendering now coexist. 2021-09-06 16:35:44 -07:00
Rezmason
4add0c3324 The renderer now accepts a density parameter, that multiplies the columns.
Glyph depth now impacts brightness.
Raindrops now move forward at a steady speed.
2021-09-05 21:58:00 -07:00
Rezmason
cfadbe145c Bloom pass can now be disabled. 2021-09-05 15:52:42 -07:00
Rezmason
6708ab03a7 Came up with some performance improvements. Hopefully this will help it run better on more machines leading up to the sequel coming out. 2021-07-11 18:18:13 -07:00
Rezmason
d094f7e0b7 Added resolution parameter to config. 2021-07-11 16:34:36 -07:00
Rezmason
021ade45e1 Passes now accept as input and provide as output Objects with FBOs as values. This allows passes to work with more than one input texture. 2020-06-26 12:46:28 -07:00
Rezmason
f065b32fe3 Improved the classic palette. 2020-06-26 12:46:18 -07:00
Rezmason
a48b8dffbe Cleaned up config by moving its responsibilities into the passes 2020-01-26 13:53:19 -08:00
Rezmason
9a8638976d Consolidating the version presets 2020-01-26 10:32:21 -08:00
Rezmason
99ef8bbf0a Separated color passes into separate modules.
Moved main JS into its own module.
Main module now builds passes into a pipeline, based on the value of config.effect.
The passes no longer make stubs when they're not meant to be active.
Asset loading has been moved into the passes, which resolve their ready promise when they've finished loading.
2020-01-25 23:05:54 -08:00
Rezmason
7aaf85a345 Improving the readability of the renderer, I hope. 2020-01-24 05:50:29 -08:00
Rezmason
05933a5dda More cleanup 2020-01-22 13:02:08 -08:00
Rezmason
cadd769b63 More cleanup 2020-01-22 09:14:45 -08:00
Rezmason
1d629a20c4 A couple more style tweaks. 2020-01-21 18:47:34 -08:00
Rezmason
a760d6854a Rebuilt on top of REGL. 2020-01-21 12:17:17 -08:00