Commit Graph

17 Commits

Author SHA1 Message Date
Rezmason
70d04b2b50 Cleaned up some code in the renderer. 2021-09-12 00:51:20 -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
7973a11fd7 Added transform and camera matrices to the vertex shader. The matrix renderer's update shader now specifies a depth for every glyph. 2021-09-05 18:38:48 -07:00
Rezmason
e570af5bc8 Glyphs now blend additively, and the renderer's output buffer is cleared before it's drawn to. 2021-09-03 22:59:35 -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
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
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