It's hard to tune the glint brightness and contrast

This commit is contained in:
Rezmason
2022-09-18 19:46:26 -07:00
parent d9b68b4669
commit b0406978d7
2 changed files with 3 additions and 3 deletions

View File

@@ -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,

View File

@@ -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);