Adjusting the textures, still not super happy with them but they can be replaced later
BIN
assets/mesh.png
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 125 KiB |
BIN
assets/metal.png
|
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 214 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 328 KiB |
BIN
assets/sand.png
|
Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 174 KiB |
@@ -259,7 +259,7 @@ const versions = {
|
|||||||
bugs: {
|
bugs: {
|
||||||
font: "resurrections",
|
font: "resurrections",
|
||||||
glintTexture: "sand",
|
glintTexture: "sand",
|
||||||
baseTexture: "sand",
|
baseTexture: "metal",
|
||||||
glyphEdgeCrop: 0.1,
|
glyphEdgeCrop: 0.1,
|
||||||
cursorColor: [0.6, 1, 2],
|
cursorColor: [0.6, 1, 2],
|
||||||
isolateGlint: true,
|
isolateGlint: true,
|
||||||
@@ -274,9 +274,8 @@ const versions = {
|
|||||||
bloomStrength: 0.7,
|
bloomStrength: 0.7,
|
||||||
fallSpeed: 0.3,
|
fallSpeed: 0.3,
|
||||||
paletteEntries: [
|
paletteEntries: [
|
||||||
{ hsl: [0.12, 0.5, 0.0], at: 0.0 },
|
{ hsl: [0.12, 0.6, 0.0], at: 0.0 },
|
||||||
{ hsl: [0.12, 0.7, 0.1], at: 0.3 },
|
{ hsl: [0.14, 0.6, 0.5], at: 1.0 },
|
||||||
{ hsl: [0.13, 0.7, 0.5], at: 1.0 },
|
|
||||||
],
|
],
|
||||||
cycleSpeed: 0.01,
|
cycleSpeed: 0.01,
|
||||||
volumetric: true,
|
volumetric: true,
|
||||||
|
|||||||
@@ -4,8 +4,9 @@ const makePassTexture = (regl, halfFloat, mipmap) =>
|
|||||||
height: 1,
|
height: 1,
|
||||||
type: halfFloat ? "half float" : "uint8",
|
type: halfFloat ? "half float" : "uint8",
|
||||||
wrap: "clamp",
|
wrap: "clamp",
|
||||||
|
minFilter: "mipmap",
|
||||||
min: mipmap ? "mipmap" : "linear",
|
min: mipmap ? "mipmap" : "linear",
|
||||||
mag: mipmap ? "mipmap" : "linear",
|
mag: "linear",
|
||||||
});
|
});
|
||||||
|
|
||||||
const makePassFBO = (regl, halfFloat) => regl.framebuffer({ color: makePassTexture(regl, halfFloat) });
|
const makePassFBO = (regl, halfFloat) => regl.framebuffer({ color: makePassTexture(regl, halfFloat) });
|
||||||
|
|||||||