Commit Graph

61 Commits

Author SHA1 Message Date
Rezmason
c4fe2c53e4 Cleaning up TODO. Tried adding a pixel grill to the rain pass frag shader, but it moired and it didn't look very good. 2022-09-11 10:36:43 -07:00
Rezmason
058b8189a9 Improving the "debug view" by basing it on rain time, so it's unaffected by the base brightness and contrast 2022-09-10 12:12:43 -07:00
Rezmason
ed49105c69 Cursors are now much more robustly detected, and the debug view— previously called the computation texture— now resembles BUF's behind-the-scenes VFX footage. Isolated the isometric camera option from the debug view 2022-09-08 23:13:52 -07:00
Rezmason
2eb7b70926 Split the rain pass's compute shader in two, with one governing brightness and the other governing glyph cycling. This allows glyphs to randomly cycle properly, and leaves room to store new properties. 2022-09-07 22:05:03 -07:00
Rezmason
76d37fc752 Freeing up a rain pass channel 2022-09-06 23:23:39 -07:00
Rezmason
c1fa822299 Adding a "3d" version, since just turning on volumetric doesn't look particularly good with the other recent config changes. 2022-09-06 01:15:35 -07:00
Rezmason
bfa18d6926 Updated the Resurrections MSDF texture 2022-09-06 01:08:47 -07:00
Rezmason
33edffc99c Removing the "resurrection" effect that mirrored the Matrix Resurrections trailers, as they aren't canon and the color channels of the output textures can be put to better use 2022-09-04 23:56:49 -07:00
Rezmason
58e3aac143 Replacing "logarithmic brightness" with a simple brightness-and-contrast setup. Adjusting a bunch of configs. 2022-09-04 23:48:34 -07:00
Rezmason
3da3db61f1 Camera input and mirror effect now also work in WebGPU. Added the "once" parameter, which renders a single frame. Fixed bugs in gpu-buffer. 2022-08-11 00:08:05 -07:00
Rezmason
6aa025870c Running prettier 2022-08-07 19:17:59 -07:00
Rezmason
8aeb156875 By default, camera features are disabled; they're opted into by URL param and browser prompt. 2022-08-02 21:23:27 -07:00
Rezmason
f0ffa6fce2 Changing back glyph edge crop, taste is subjective but symbols are getting cut off 2022-08-02 03:41:29 -07:00
serge
c2eb3d0602 not bad for first time 2022-07-05 05:24:38 +10:00
Rezmason
a4a0406826 Ran prettier. 2022-05-04 17:42:50 -07:00
Rezmason
33497270a8 Fleshing out the megacity version, and adding it to the readme 2022-04-28 18:27:01 -07:00
Rezmason
b56f63b74b Fixing the asterisk glyph in the font and glyph sets.
Adding the megacity glyph to the font and added a megacity glyph set.
Fixed a bug in the rain pass's fragment shader that caused glyphs in the last column to go missing
2022-04-28 18:18:15 -07:00
Rezmason
d3905387fb Adding the Game Theory ARG cipher fonts. 2021-12-26 00:20:48 -08:00
Rezmason
928067996d The primary and bloom textures are now combined with a weight so that fainter bloom doesn't create a fainter overall effect. 2021-12-24 21:44:16 -08:00
Rezmason
a962a6128d Expose dither magnitude and bloom strength through URL parameters. 2021-12-24 20:02:40 -08:00
Rezmason
adada69cdf Fixes to the font configuration logic. 2021-12-21 15:13:54 -08:00
Rezmason
22f3ab4092 You can now specify the glyph font by name in the URL. 2021-12-21 15:00:15 -08:00
Rezmason
38f29ad21b You can now loop the effect. It's not super great, but it ought to make it easier to create repeating backgrounds or something. 2021-12-21 02:22:20 -08:00
Rezmason
bdd8782619 The lkg object shouldn't be retrieved from the device or spoofed unless holoplay is enabled. 2021-12-19 22:41:10 -08:00
Rezmason
1a7043a986 Moved looking glass context logic into an "lkgHelper" module. Fixed math issues. 2021-12-19 22:02:19 -08:00
Rezmason
2364bbc8bc rainPass now renders multiple cameras and viewports, using data from the hardware.
Added quiltPass (which uses holoplay’s quilting shader).
Added a holoplay effect version. (Versions can also now specify a preferred renderer.)
2021-12-19 12:08:31 -08:00
Rezmason
25e9f10f69 Adding "updated" glyph set from The Matrix Resurrections, and a corresponding effect version. 2021-12-11 22:21:24 -08:00
Rezmason
508c941fcd The glyph textures can now be rectangular, I think. 2021-12-06 22:44:18 -08:00
Rezmason
c0bd6945ed The twilight version flickered an unhealthy amount, so I lengthened its raindrops. 2021-11-15 23:52:39 -08:00
Rezmason
e95d826fb3 Adding huberfish A and D glyph sets; adding palimpsest and twilight versions. 2021-11-15 23:49:19 -08:00
Rezmason
7eecace634 My friend recommended a much simpler blur that doesn't build any image pyramids. Unfortunately my work towards an implementation isn't very promising— it doesn't pack the same wollop as the WebGL version— but I can built my pyramids on top of it. 2021-11-13 21:25:27 -08:00
Rezmason
335ff5ddb7 The main module can now pick a renderer based on the "renderer" URL parameter. 2021-11-06 05:03:38 -07:00
Rezmason
0c26cc7660 Moving assets into a subdirectory. 2021-10-29 12:21:40 -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
348c384de5 More small config tweaks to paradise matrix. 2021-10-23 01:54:09 -07:00
Rezmason
7f42280eeb More small config tweaks. 2021-10-23 01:38:05 -07:00
Rezmason
a979e87564 More tweaks to Resurrections version. 2021-10-23 01:12:50 -07:00
Rezmason
cf5f8c2113 Simplifying rainPass.compute's weirder operations. 2021-10-23 01:12:31 -07:00
Rezmason
1a97861fed Resurrections version now vertically spaces the glyphs (groan). 2021-10-22 22:57:14 -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
d285697640 Documenting the passes and config variables. 2021-10-20 21:50:01 -07:00
Rezmason
91deea34d6 Ran all the JS through prettier. 2021-10-20 03:25:04 -07:00
Rezmason
3630c6adb0 Tuning the resurrections version. 2021-10-20 00:13:55 -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
7910ca0553 Added backgroundColor support and improved stripe colors handling in config. 2021-09-12 00:50:51 -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
cfadbe145c Bloom pass can now be disabled. 2021-09-05 15:52:42 -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