Commit Graph

30 Commits

Author SHA1 Message Date
Rezmason
cee10bb1de Adding glyphFlip and glyphRotation parameters. 2024-09-10 21:41:59 -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
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
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
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
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
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
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
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
786c83cca0 More tweaks to the volumetric mode debug view. 2021-11-08 23:04:08 -08:00
Rezmason
11bba1020d Changing my mind a little about how to render the "behind the scenes" version of the effect, in regular and volumetric mode.
An isometric perspective would be neat.
2021-11-08 09:29:04 -08:00
Rezmason
bade1667ad Making some comments in the WebGPU rainPass and changing the "effect=none" view to be easier on the eyes. 2021-11-06 15:19:56 -07:00
Rezmason
375560d6a1 Fixed a math issue in the symbol UV function. 2021-10-30 20:30:55 -07:00
Rezmason
923992660c Ported the rain fragment shader to wgsl. Made a small change in both to the function that resolves the glyph symbol float to the coordinate of a glyph in the MSDF texture. 2021-10-30 14:49:06 -07:00
Rezmason
94f5f1e5ec Rearranging the shaders and scripts to hopefully make the project easier to work on 2021-10-29 09:27:28 -07:00