mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-14 12:29:30 -07:00
It's hard to tune the glint brightness and contrast
This commit is contained in:
@@ -210,8 +210,8 @@ const versions = {
|
||||
cursorColor: [1.4, 2, 1.2],
|
||||
isolateGlint: true,
|
||||
glintColor: [3, 2.5, 0.6],
|
||||
glintBrightness: -2,
|
||||
glintContrast: 3,
|
||||
glintBrightness: -0.5,
|
||||
glintContrast: 1.5,
|
||||
baseBrightness: -0.4,
|
||||
baseContrast: 1.5,
|
||||
highPassThreshold: 0,
|
||||
|
||||
@@ -34,7 +34,7 @@ const loadJS = (src) =>
|
||||
});
|
||||
|
||||
export default async (canvas, config) => {
|
||||
await Promise.all([loadJS("lib/regl.js"), loadJS("lib/gl-matrix.js")]);
|
||||
await Promise.all([loadJS("lib/regl.min.js"), loadJS("lib/gl-matrix.js")]);
|
||||
|
||||
const resize = () => {
|
||||
canvas.width = Math.ceil(canvas.clientWidth * config.resolution);
|
||||
|
||||
Reference in New Issue
Block a user