Commit Graph

17 Commits

Author SHA1 Message Date
Rezmason
edc9bca0bc Removing accidental junk function from utils 2021-10-22 22:57:22 -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
28d38b032f More code cleanup. Replacing Neapolitan ice cream stripes with trans flag stripes. 2021-10-20 09:19:06 -07:00
Rezmason
4e88f68560 Whitespace fixes. 2021-10-20 08:26:16 -07:00
Rezmason
91deea34d6 Ran all the JS through prettier. 2021-10-20 03:25:04 -07:00
Rezmason
d8a1409907 Pushed virtually all the shader source into shader files that load as assets. 2021-10-20 03:20:46 -07:00
Rezmason
39742d73f3 Shaders can now be loaded in similar to textures 2021-10-20 02:04:31 -07:00
Rezmason
5902ecc625 Renaming some variables 2021-10-20 01:13:55 -07:00
Rezmason
4e2c18d375 Glyphs in the renderer are now independent quads. 2021-09-03 22:34:46 -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
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
a48b8dffbe Cleaned up config by moving its responsibilities into the passes 2020-01-26 13:53:19 -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
05933a5dda More cleanup 2020-01-22 13:02:08 -08:00
Rezmason
cadd769b63 More cleanup 2020-01-22 09:14:45 -08:00
Rezmason
67636db908 Adding comments, and other small adjustments 2020-01-21 12:28:08 -08:00
Rezmason
a760d6854a Rebuilt on top of REGL. 2020-01-21 12:17:17 -08:00