The glyph textures can now be rectangular, I think.

This commit is contained in:
Rezmason
2021-12-06 22:44:18 -08:00
parent 577e94c7d1
commit 508c941fcd
4 changed files with 15 additions and 14 deletions

View File

@@ -40,7 +40,7 @@ export default ({ regl, config }) => {
const showComputationTexture = config.effect === "none";
const commonUniforms = {
...extractEntries(config, ["animationSpeed", "glyphHeightToWidth", "glyphSequenceLength", "glyphTextureColumns", "resurrectingCodeRatio"]),
...extractEntries(config, ["animationSpeed", "glyphHeightToWidth", "glyphSequenceLength", "glyphTextureGridSize", "resurrectingCodeRatio"]),
numColumns,
numRows,
showComputationTexture,