Rezmason
f14651c2b2
Initializing the regl double buffer with an array of zeroes, to overwrite any garbage values that a browser may have left in there.
2024-06-27 12:48:11 -07:00
Rezmason
91201830f8
You can now suppress warnings with suppressWarnings. This should be used for any warning that may appear in the future. Also, clicking the button to proceed in the warning notice appends suppressWarnings to the URL parameters.
2022-11-30 19:56:55 -08:00
Rezmason
4cc4d9191e
Removing some unused code from bloom
2022-11-01 08:07:34 -07:00
Rezmason
acc21ef1f4
Separated cursor and glint intensities from their colors, which can now safely reside in their color spaces.
2022-11-01 08:05:48 -07:00
Rezmason
c7fafcdb13
Adding neomatrixology's glyphs and version
2022-10-13 19:50:35 -07:00
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
507f907096
Fixing the resize logic
2022-10-04 21:52:44 -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
b86b97fde9
Adding an FPS argument. The renderers now determine whether the current frame should be rendered, and passes use that to determine whether to render or not. The rain pass, however, will still update the simulation at full speed.
2022-10-03 23:45:56 -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
95b67d1dad
Detect and advise against running through SwiftShader
2022-10-02 13:20:50 -07:00
Rezmason
87bd6c1681
Adding a "testFix" URL variable to help test potential fixes to open bugs in production.
2022-10-01 21:01:06 -07:00
Rezmason
dd7692dfc5
Left in a console log by mistake
2022-09-30 00:12:48 -07:00
Rezmason
7e2acde979
Fixing the transPride and pride stripe colors in the regl code
2022-09-29 22:44:49 -07:00
Rezmason
2ab9699b4e
Adding palette URL variable support, HSL URL variables, and RGB aliases for the existing color URL variables.
2022-09-29 22:15:01 -07:00
Rezmason
3828203876
All colors are now color objects
2022-09-29 22:15:01 -07:00
Rezmason
22dd5e8678
RGBs in config are no longer flat
2022-09-29 22:15:01 -07:00
Rezmason
67cfdcb132
Palette pass now accepts colors regardless of their color space
2022-09-29 22:15:01 -07:00
Rezmason
cde709b044
Renaming paletteEntries to palette
2022-09-29 22:15:01 -07:00
Rezmason
44ce50b6d5
Updating pride and trans pride stripe colors to match what's on Wikipedia
2022-09-27 12:18:32 -07:00
Rezmason
0475f05029
Switching the default renderer to regl for now, since some folks are seeing issues with the WebGPU renderer and I'm actively investigating its "bloom issues" (which seem to involve bloomStrength and texture/sampler differences)
2022-09-26 09:37:38 -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
965e21d3ba
Adding intro and skipIntro option
2022-09-24 07:27:26 -07:00
Rezmason
fb16a9b855
Adjusting the textures, still not super happy with them but they can be replaced later
2022-09-19 20:41:23 -07:00
Rezmason
5f544091a9
Deferring the holoplay import until it's determined that it's needed. Changing the holoplay effect version a little.
2022-09-18 22:30:10 -07:00
Rezmason
b0406978d7
It's hard to tune the glint brightness and contrast
2022-09-18 19:46:26 -07:00
Rezmason
d9b68b4669
Trinity tweak and updated the readme
2022-09-17 21:06:20 -07:00
Rezmason
5feecd7b78
Brighten Trinity version
2022-09-17 13:57:31 -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
86036d9ceb
The cursor color, when unspecified, now defaults to bright white if an effect is specified, rather than falling back on the colors from the versions
2022-09-16 21:37:30 -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
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
ec831ce6f1
Adding named debug groups to the WebGPU passes, and switching the pipeline create calls to the async methods
2022-09-11 20:09:32 -07:00
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
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
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