Glyphs in the renderer are now independent quads.

This commit is contained in:
Rezmason
2021-09-03 22:34:46 -07:00
parent 6708ab03a7
commit 4e2c18d375
2 changed files with 55 additions and 21 deletions

View File

@@ -120,6 +120,7 @@ const makeFullScreenQuad = (regl, uniforms = {}, context = {}) =>
attributes: {
aPosition: [-4, -4, 4, -4, 0, 4]
},
count: 3,
uniforms: {
...uniforms,
@@ -129,7 +130,7 @@ const makeFullScreenQuad = (regl, uniforms = {}, context = {}) =>
context,
depth: { enable: false },
count: 3
});
const make1DTexture = (regl, data) =>