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.
This commit is contained in:
Rezmason
2021-10-22 08:38:37 -07:00
parent 7569246b5b
commit 6d8f5ba41a
5 changed files with 30 additions and 23 deletions

View File

@@ -139,6 +139,7 @@ const makeFullScreenQuad = (regl, uniforms = {}, context = {}) =>
uniforms: {
...uniforms,
time: regl.context("time"),
tick: regl.context("tick"),
},
context,