Commit Graph

116 Commits

Author SHA1 Message Date
Rezmason
f0898e7ecf All non-trivial shaders are now loaded from files. 2022-10-11 21:27:46 -07:00
Rezmason
e8be232e9b Fixing several embarrassing bugs.
WebGPU and REGL projects now flipY again, and they properly flip the symbolY glyph coordinate in the rain pass's fragment shader.
Switching on some older code that was disabled for FF Nightly support— it makes more sense to wait for that support as implementations finalize.
Added mipmap to images loaded into REGL project.
2022-10-11 09:25:24 -07:00
Rezmason
3843dd90d1 Moving bloom strength math to the combine steps, and fixing a redundant multiply issue in the REGL based renderer 2022-10-04 21:53:53 -07:00
Rezmason
6986ed45f5 Removed flipY from REGL renderer's texture load function, to increase similarity between renderer implementations and rule out a sampling discrepancy 2022-10-04 21:48:21 -07:00
Rezmason
4f257b87f7 Fixed SDF math; texture dimensions were accessed before they loaded in the REGL-based renderer 2022-10-04 21:46:26 -07:00
Rezmason
fb3fb89d95 Softening the MSDF, ready to move on 2022-10-02 20:47:52 -07:00
Rezmason
51faabfbe6 Corrected the MSDF logic in the GLSL and WGSL shaders, which fixed the rendering in Chrome's software renderer. 2022-10-02 20:35:12 -07:00
Rezmason
d85594a46c Vertically offsetting glyph columns by a random fraction of the height of a glyph when the volumetric mode is on, to prevent odd visual alignments 2022-09-30 00:11:22 -07:00
Rezmason
22dd5e8678 RGBs in config are no longer flat 2022-09-29 22:15:01 -07:00
Rezmason
cde709b044 Renaming paletteEntries to palette 2022-09-29 22:15:01 -07:00
Rezmason
beb70473aa Fixed a WebGPU sequencing issue when skipIntro=true&once=false, caused by updating the cells and intro cells in the same compute pass. The WebGPU and REGL projects are now also slightly more alike. 2022-09-25 19:43:51 -07:00
Rezmason
f07bf7bceb Fixing a bug introduced with skipIntro 2022-09-24 21:39:05 -07:00
Rezmason
679580a394 Theatrics— first column is in the middle, next one's over to the side, then they all join in 2022-09-24 07:27:32 -07:00
Rezmason
965e21d3ba Adding intro and skipIntro option 2022-09-24 07:27:26 -07:00
Rezmason
e2be02c498 Added textures to base and glint shapes. 2022-09-17 13:51:48 -07:00
Rezmason
eddbd12c36 Added glint brightness and contrast, makes a big difference 2022-09-17 10:09:52 -07:00
Rezmason
9c2d6d7ed8 Adding "glint", the shapes that appear on top of the glyphs in the Resurrections opening titles. 2022-09-17 01:24:23 -07:00
Rezmason
9ab9924294 Migrated changes to WebGPU 2022-09-16 21:08:00 -07:00
Rezmason
ab280a95d3 A tiny bit of cleanup before tackling the WebGPU version 2022-09-16 17:34:44 -07:00
Rezmason
3fc53f1bab Renaming shine to raindrop, which makes more sense 2022-09-16 17:01:22 -07:00
Rezmason
6969514c9b The cursor channel of the rain pass is now propagated in isolation to the effect passes. 2022-09-15 23:33:47 -07:00
Rezmason
17a615eec7 Altering course. The only remaining goal of the recode is to isolate the cursor glyphs and process them separately. 2022-09-15 21:23:11 -07:00
Rezmason
3b456baef9 Move brightness from the shine compute shader to the fragment shader and clean it up 2022-09-15 21:10:33 -07:00
Rezmason
b0613f9bc3 Removing brightness-based cycle style— I can no longer see any evidence that it occurs.
Updated the readme file
2022-09-15 00:41:04 -07:00
Rezmason
4c6e6fd662 Removed sun shower. Thunder and ripples are now handled by a third compute shader. 2022-09-14 23:09:00 -07:00
Rezmason
0d1d661401 A bit more cleanup in preparation for the reformulation 2022-09-11 23:48: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
9a4c2558e7 Making it loop again. 2022-09-09 18:03:23 -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
77d6176fd5 Updating the WebGPU code to match the REGL code 2022-09-08 19:51:39 -07:00
Rezmason
a14b6db911 A couple changes on the REGL side that missed the boat 2022-09-07 23:17:37 -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
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
a0c1f22fd1 Updating WebGPU project to satisfy Chrome Canary 2022-08-07 19:17:22 -07:00
Rezmason
ad81de744d Renamed ripples pass to mirror pass 2022-08-02 21:25:54 -07:00
Rezmason
3e301e9e58 code brightness is now intensified by the ripples. Added webcam support. 2022-08-02 09:56:13 -07:00
Rezmason
25255599aa Replaced the sudden sine ripple with a sin(x)/x offset by elapsed time. 2022-08-02 04:12:52 -07:00
Rezmason
503c97adeb Ripples pass now supports five simultaneous clicks; the ripples are circular, accounting for the aspect ratio; click event is handled within the ripples pass module. 2022-08-02 03:42:36 -07:00
serge
d910e2e49d animation length 2022-08-01 19:05:51 +10:00
serge
ed2fff88a8 onclick ripple 2022-07-30 17:37:34 +10:00
serge
65d0380bde 2/3 2022-07-29 19:54:52 +10:00
serge
b64f7c247a test 2022-07-07 19:47:44 +10:00
serge
c2eb3d0602 not bad for first time 2022-07-05 05:24:38 +10:00
Rezmason
e39c26a95a The delimiter between WGSL struct fields is now a comma, which is also the delimiter between parameters in angle brackets, so gpu-buffer needs to be a little cleverer with the lines it separates. 2022-04-30 18:16:33 -07:00
Rezmason
e8458a1304 Arithmetic assignment operators were added 2022-04-30 18:16:33 -07:00
Rezmason
dfef272246 Binding syntax changes 2022-04-30 18:16:33 -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