Commit Graph

  • 2265e3c937 Performing extensive cleanup and adding comments to rainPass.compute Rezmason 2021-10-22 23:44:45 -07:00
  • af44126926 Renaming the data texture to "state" in the rain pass's render program Rezmason 2021-10-22 22:58:10 -07:00
  • 5c77e9b690 Renaming a value in highPass.frag Rezmason 2021-10-22 22:57:37 -07:00
  • edc9bca0bc Removing accidental junk function from utils Rezmason 2021-10-22 22:57:22 -07:00
  • 1a97861fed Resurrections version now vertically spaces the glyphs (groan). Rezmason 2021-10-22 22:56:11 -07:00
  • 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. Rezmason 2021-10-22 08:38:37 -07:00
  • 7569246b5b Renaming rainPass shaders, and updating TODO. Rezmason 2021-10-22 00:48:49 -07:00
  • d285697640 Documenting the passes and config variables. Rezmason 2021-10-20 21:39:04 -07:00
  • 4c6ff879fd Added some documentation, cleaned up some code, fleshed out the remaining work to make the project a little easier for newcomers to approach Rezmason 2021-10-20 21:01:32 -07:00
  • b4bece1264 resurrectionPass wasn't waiting for its shader to load. Rezmason 2021-10-20 14:00:55 -07:00
  • b2f81cdb37 Oops, fixing the URLs for the shaders Rezmason 2021-10-20 13:44:06 -07:00
  • f6e12ad795 Renaming renderer to rainPass, renaming its shaders, and cleaning up the main code a little. Rezmason 2021-10-20 09:58:03 -07:00
  • c85642a270 A little more cleanup in the renderer code. Rezmason 2021-10-20 09:50:58 -07:00
  • 28d38b032f More code cleanup. Replacing Neapolitan ice cream stripes with trans flag stripes. Rezmason 2021-10-20 09:19:06 -07:00
  • 4e88f68560 Whitespace fixes. Rezmason 2021-10-20 08:26:16 -07:00
  • 91deea34d6 Ran all the JS through prettier. Rezmason 2021-10-20 03:25:04 -07:00
  • d8a1409907 Pushed virtually all the shader source into shader files that load as assets. Rezmason 2021-10-20 03:20:46 -07:00
  • 39742d73f3 Shaders can now be loaded in similar to textures Rezmason 2021-10-20 02:04:31 -07:00
  • 5902ecc625 Renaming some variables Rezmason 2021-10-20 01:13:55 -07:00
  • 7ec03bbeb1 Beginning to explore adding loop support. Permitting the effect to loop makes it easier to generate looping video. Rezmason 2021-10-20 00:14:49 -07:00
  • 3630c6adb0 Tuning the resurrections version. Rezmason 2021-10-20 00:13:55 -07:00
  • 80f5aea2a3 Adding support for "resurrecting" volumetric code, which is rendered to a separate channel and can be given separate colors. Rezmason 2021-09-19 21:48:17 -07:00
  • f17281ab4d Adding notes to support some recent variations on the Matrix code rain seen in Matrix Resurrection promotional material. Rezmason 2021-09-09 21:53:52 -07:00
  • 70d04b2b50 Cleaned up some code in the renderer. Rezmason 2021-09-12 00:51:20 -07:00
  • 7910ca0553 Added backgroundColor support and improved stripe colors handling in config. Rezmason 2021-09-12 00:50:51 -07:00
  • 51f1b6ebf5 Updating the README.md. Renaming "threedee" to "volumetric". Rezmason 2021-09-06 17:23:54 -07:00
  • 99591e1186 Old and new matrix rendering now coexist. Rezmason 2021-09-06 16:35:44 -07:00
  • 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. Rezmason 2021-09-05 21:58:00 -07:00
  • 7973a11fd7 Added transform and camera matrices to the vertex shader. The matrix renderer's update shader now specifies a depth for every glyph. Rezmason 2021-09-05 18:38:48 -07:00
  • cfc9a08dbe Adding glMatrix to the project. Rezmason 2021-09-05 15:52:54 -07:00
  • cfadbe145c Bloom pass can now be disabled. Rezmason 2021-09-05 15:52:42 -07:00
  • e570af5bc8 Glyphs now blend additively, and the renderer's output buffer is cleared before it's drawn to. Rezmason 2021-09-03 22:59:35 -07:00
  • 4e2c18d375 Glyphs in the renderer are now independent quads. Rezmason 2021-09-03 22:34:46 -07:00
  • 6708ab03a7 Came up with some performance improvements. Hopefully this will help it run better on more machines leading up to the sequel coming out. Rezmason 2021-07-11 18:18:13 -07:00
  • d094f7e0b7 Added resolution parameter to config. Rezmason 2020-11-22 23:53:16 -08:00
  • e214dc2e44 Update README.md Rezmason 2021-02-27 19:25:05 -08:00
  • f2b29d45e0 Experimenting with a more expensive bloom. Rezmason 2020-06-26 12:22:59 -07:00
  • 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. Rezmason 2020-06-25 02:23:59 -07:00
  • e100117d8b Another MSDF texture improvement. I ought to make this an automated process in the future. Rezmason 2020-06-25 02:19:50 -07:00
  • f065b32fe3 Improved the classic palette. Rezmason 2020-06-24 03:43:37 -07:00
  • b50a39feb5 Improving the Matrix font and MSDF texture. Rezmason 2020-06-24 02:33:41 -07:00
  • e1150d092e Removing unused SVGs, some of which are causing filename problems on some platforms. threejs Rezmason 2020-05-29 01:00:48 -07:00
  • ed0fc5510a Removing unused SVGs, some of which are causing filename problems on some platforms. Rezmason 2020-05-29 01:00:48 -07:00
  • a48b8dffbe Cleaned up config by moving its responsibilities into the passes Rezmason 2020-01-26 13:53:19 -08:00
  • 9a8638976d Consolidating the version presets Rezmason 2020-01-26 09:55:37 -08:00
  • 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. Rezmason 2020-01-25 23:05:54 -08:00
  • 7aaf85a345 Improving the readability of the renderer, I hope. Rezmason 2020-01-24 05:50:29 -08:00
  • 05933a5dda More cleanup Rezmason 2020-01-22 13:02:08 -08:00
  • cadd769b63 More cleanup Rezmason 2020-01-22 08:31:13 -08:00
  • 1d629a20c4 A couple more style tweaks. Rezmason 2020-01-21 18:47:34 -08:00
  • 67636db908 Adding comments, and other small adjustments Rezmason 2020-01-21 12:28:08 -08:00
  • a760d6854a Rebuilt on top of REGL. Rezmason 2020-01-19 16:03:53 -08:00
  • 09677e5aa4 Not sure how msdfgen submodule missed the boat Rezmason 2020-01-21 03:04:05 -08:00
  • 5cea203bec Adding bloomSize customization option, which reduces the resolution of the bloom shader pass. Rezmason 2019-11-20 21:47:04 -08:00
  • d0646f2b7a Update README.md Rezmason 2019-11-17 21:59:05 -08:00
  • 5e568619fd Renaming "throwback" and "1999" to "operator" and "classic". Rezmason 2019-11-17 21:54:50 -08:00
  • cf3cc3e7ca Added ripple effect. Rezmason 2019-11-17 21:51:09 -08:00
  • d243d42e72 preventing default on touchmove to keep iOS browsers from bouncing Rezmason 2019-10-27 21:46:18 -07:00
  • ec4d1878c4 Removing A-Frame alpha test from the MSDF shader. I should have known better! Rezmason 2019-05-15 08:30:38 -07:00
  • c154a2f30f Increasing "tracer" brightness envelope. Renaming fade to brightnessThreshold Rezmason 2019-02-21 07:26:58 -08:00
  • 020c44c301 Adjusting the height to width glyph ratio for throwback; multiplying the number of columns in throwback by that ratio, so that glyphs seem roughly the same size as in other versions. Minor color adjustment. Rezmason 2019-02-20 08:21:22 -08:00
  • 5263562c6f When showing the computation shader, it makes sense to make the initial cycle values easier to compare with one another. Rezmason 2019-02-18 22:18:31 -08:00
  • 679b7d69bf Updating README. Rezmason 2019-02-18 22:15:27 -08:00
  • d78a1cc1b8 Fixing flicker issue in paradise matrix. Rezmason 2019-02-18 22:00:50 -08:00
  • e0674121b6 Organized the version parameters. Combined font data together. Rezmason 2019-02-18 21:49:05 -08:00
  • 0a1f79dcd6 The "throwback" version is looking better. Rezmason 2019-02-18 21:19:07 -08:00
  • 79ff5f5cff Color palettes are now raw objects. Rezmason 2019-02-18 20:56:43 -08:00
  • 92a75d387c Added "Throwback" matrix version, an attempt at recreating the effect as it appears in the original movie's opening titles. Rezmason 2019-02-18 17:28:28 -08:00
  • 5528592754 Adding glyphHeightToWidth, glyphEdgeCrop, fade and cycleStyle parameters. Rezmason 2019-02-18 17:26:02 -08:00
  • d03cd685e1 - Added "slant" param to readme - getParam now supports synonyms - Renamed "dropLength" URL param to "raindropLength", keeping around support for dropLength URL param - Renamed "texture" to "fontTexture" - Changed "isSlanted" boolean to "slant" angle, adding slant/angle URL param, converted from degrees to radians - Renamed "numGlyphColumns" to "numFontColumns" - Renamed "showRTT" to "showComputationTexture" - Random glyphs are now based on a simple sine scramble - Renaming "now" and "delta" to "time" and "deltaTime" - glyphCycleSpeed is no longer premultiplied; it is now a number between 0 and 1, much easier to visualize Rezmason 2019-02-17 18:42:08 -08:00
  • 7d34f00dde Minor tweaks Rezmason 2019-01-15 23:55:50 -08:00
  • d51d1d7434 Adding dropLength mention to README Rezmason 2019-01-10 10:58:43 -08:00
  • 0c9641860a effect "none" now shows the bare compute texture, with a slight difference to indicate areas of high cycle speed. Added dropLength property. Rezmason 2019-01-09 15:16:33 -08:00
  • 1f69d59249 Breaking temporality in the color map pass graininess. Adding a more finely tuned color map for 1999 Rezmason 2018-12-27 02:39:04 -08:00
  • ffcbae6519 Removing the camera, actually. Rezmason 2018-12-21 21:48:58 -08:00
  • decf13c902 Adding screenshot to readme Rezmason 2018-10-17 16:20:44 -07:00
  • 940293ca2a Fixing a straight up broken shader Rezmason 2018-09-11 23:50:24 -07:00
  • 99916efbf1 Figured out how to make the nightmare matrix code slanted. Rezmason 2018-09-11 21:11:01 -07:00
  • f303051b1d I was forgetting to set the size of the composer Rezmason 2018-09-11 18:23:45 -07:00
  • ff4b5255e9 Updating TODO Rezmason 2018-09-10 15:42:37 -07:00
  • 8c93747a94 Update README.md Rezmason 2018-09-09 23:13:34 -07:00
  • e61f96e614 Added paradise version. Added Coptic text texture. Added polar coordinate and "sun" support to the renderer. Rezmason 2018-09-09 16:42:22 -07:00
  • a8dcc52c8e Fixing the shader on mobile devices(?) Rezmason 2018-09-08 18:25:33 -07:00
  • 33b7f58ac1 Adding nightmare matrix support Rezmason 2018-09-08 08:21:18 -07:00
  • ac15090ca7 Update README.md and TODO.txt Rezmason 2018-09-05 17:06:11 -07:00
  • a287bccd1c Replaced MatrixGeometry and MatrixMaterial with MatrixRenderer. Got rid of a,b,c variables. Rezmason 2018-09-05 15:28:01 -07:00
  • 1c6e351352 Got GPU-computed matrix particles working, passed in to the shader that makes them look nice. Geometry is just a quad! Rezmason 2018-09-05 15:26:47 -07:00
  • f954b1f8ab Implemented matrix particle logic in a GPUComputationRender system. Rezmason 2018-09-05 03:46:02 -07:00
  • 515ee07b43 Adding GPUComputationRenderer to project. Adding gpgpu_example HTML as a reference. Rezmason 2018-09-05 00:47:46 -07:00
  • 7bf43539c1 Added noise to coloration passes, removed film grain pass. Added ImageOverlayPass option; effect can be specified in URL variables. Rezmason 2018-09-03 20:04:42 -07:00
  • a644133c1e Moved some more code out of index.html Rezmason 2018-09-03 00:28:13 -07:00
  • 118b5a69ef Moving Matrix material into its own file Rezmason 2018-09-03 00:18:25 -07:00
  • f491d45565 More computation adjustments. Pretty happy with this. Rezmason 2018-09-03 00:18:11 -07:00
  • 06fd40c408 Switched glyph brightness and cycle speeds to being derived from a continuous function. Introduced a quick way to mess with code parameters. Rezmason 2018-09-01 00:55:32 -07:00
  • cff094fda1 After talking with Shem, it sure sounds like it'd be easier to come up with a solution on the JS side of things and then "port" it to GPU Rezmason 2018-08-30 00:36:17 -07:00
  • 8354218748 Removing antialiasing, depth and stencil; setting shader precision to low. Disconnecting numRows from fall speed and tail length. Rezmason 2018-08-24 22:59:08 -04:00
  • 07aa2b011f Minor adjustment to README.md Rezmason 2018-08-23 17:32:06 -04:00
  • 8c60365279 Initial commit Rezmason 2018-08-22 00:59:33 -04:00