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.
This commit is contained in:
Rezmason
2020-01-25 23:05:54 -08:00
parent 7aaf85a345
commit 99ef8bbf0a
11 changed files with 278 additions and 257 deletions

View File

@@ -1,6 +1,8 @@
TODO:
Clean up config.js
Too many responsibilities
Pass-specific properties should be made into uniforms in the passes
Reach out to someone about producing sounds
Raindrop sound