Moving assets into a subdirectory.

This commit is contained in:
Rezmason
2021-10-29 12:21:40 -07:00
parent 94f5f1e5ec
commit 0c26cc7660
8 changed files with 19 additions and 6 deletions

View File

@@ -17,7 +17,7 @@
- [Custom image (`url=www.website.com/picture.jpg`)](https://rezmason.github.io/matrix/?effect=image&url=https://upload.wikimedia.org/wikipedia/commons/f/f5/EagleRock.jpg)
- [Raw compute texture (`effect=none`) (_epilepsy warning_: lots of flickering)](https://rezmason.github.io/matrix/?effect=none)
- [The free font (TrueType).](https://github.com/Rezmason/matrix/raw/master/Matrix-Code.ttf)
- [The free font (TrueType).](https://github.com/Rezmason/matrix/raw/master/assets/Matrix-Code.ttf)
---
### about

View File

@@ -2,8 +2,21 @@ TODO:
WebGPU
First decent rainRender
vertex, fragment, with noise for
data texture lookup with textureLoad
Port render pass 100%
For now, use noise instead of the data texture
Get all the uniforms in
Categorize them into buffers
Port compute pass 100%
Compute entry point can live in the same wgsl file, I think
More uniforms! Categorize!
use textureLoad for texel access in render pipeline
Render target
Resize accordingly
Put in its own module
Blur: compute or render?
The other passes should be a breeze
Just add them to the render bundle
std140
Document and share it

View File

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View File

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 81 KiB

View File

@@ -1,19 +1,19 @@
const fonts = {
coptic: {
// The script the Gnostic codices were written in
glyphTexURL: "coptic_msdf.png",
glyphTexURL: "assets/coptic_msdf.png",
glyphSequenceLength: 32,
glyphTextureColumns: 8,
},
gothic: {
// The script the Codex Argenteus was written in
glyphTexURL: "gothic_msdf.png",
glyphTexURL: "assets/gothic_msdf.png",
glyphSequenceLength: 27,
glyphTextureColumns: 8,
},
matrixcode: {
// The glyphs seen in the film trilogy
glyphTexURL: "matrixcode_msdf.png",
glyphTexURL: "assets/matrixcode_msdf.png",
glyphSequenceLength: 57,
glyphTextureColumns: 8,
},