mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-14 12:29:30 -07:00
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:
@@ -377,6 +377,7 @@ fn getSymbolUV(glyphCycle : f32) -> vec2<f32> {
|
||||
var symbol = i32(f32(config.glyphSequenceLength) * glyphCycle);
|
||||
var symbolX = symbol % config.glyphTextureGridSize.x;
|
||||
var symbolY = symbol / config.glyphTextureGridSize.x;
|
||||
// TODO: make sure this is working properly, it had a bug in the GLSL for a while.
|
||||
return vec2<f32>(f32(symbolX), f32(symbolY));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user