Fixing the asterisk glyph in the font and glyph sets.

Adding the megacity glyph to the font and added a megacity glyph set.
Fixed a bug in the rain pass's fragment shader that caused glyphs in the last column to go missing
This commit is contained in:
Rezmason
2022-04-28 18:18:15 -07:00
parent d3905387fb
commit b56f63b74b
8 changed files with 19 additions and 7 deletions

View File

@@ -17,6 +17,12 @@ const fonts = {
glyphSequenceLength: 57,
glyphTextureGridSize: [8, 8],
},
megacity: {
// The glyphs seen in the film trilogy
glyphTexURL: "assets/megacity_msdf.png",
glyphSequenceLength: 64,
glyphTextureGridSize: [8, 8],
},
resurrections: {
// The glyphs seen in the film trilogy
glyphTexURL: "assets/resurrections_msdf.png",
@@ -94,6 +100,9 @@ const defaults = {
const versions = {
classic: {},
megacity: {
font: "megacity"
},
operator: {
bloomStrength: 0.75,
highPassThreshold: 0.0,