Rezmason
94f5f1e5ec
Rearranging the shaders and scripts to hopefully make the project easier to work on
2021-10-29 09:27:28 -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
4c6ff879fd
Added some documentation, cleaned up some code, fleshed out the remaining work to make the project a little easier for newcomers to approach
2021-10-20 21:01:32 -07:00
Rezmason
f6e12ad795
Renaming renderer to rainPass, renaming its shaders, and cleaning up the main code a little.
2021-10-20 09:58:03 -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
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
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
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
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