mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-17 13:59:30 -07:00
Separated cursor and glint intensities from their colors, which can now safely reside in their color spaces.
This commit is contained in:
@@ -100,6 +100,8 @@ export default ({ config, device, timeBuffer }) => {
|
||||
backgroundColor: colorToRGB(config.backgroundColor),
|
||||
cursorColor: colorToRGB(config.cursorColor),
|
||||
glintColor: colorToRGB(config.glintColor),
|
||||
cursorIntensity: config.cursorIntensity,
|
||||
glintIntensity: config.glintIntensity,
|
||||
});
|
||||
|
||||
const paletteUniforms = paletteShaderUniforms.Palette;
|
||||
|
||||
@@ -75,6 +75,8 @@ export default ({ config, device, timeBuffer }) => {
|
||||
backgroundColor: colorToRGB(config.backgroundColor),
|
||||
cursorColor: colorToRGB(config.cursorColor),
|
||||
glintColor: colorToRGB(config.glintColor),
|
||||
cursorIntensity: config.cursorIntensity,
|
||||
glintIntensity: config.glintIntensity,
|
||||
});
|
||||
})();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user