remove unnecessary assets, add setting persistence

This commit is contained in:
Brian Beck 2025-11-13 23:41:10 -08:00
parent 6ae7a19332
commit fc4146c824
70 changed files with 180 additions and 18618 deletions

View file

@ -52,6 +52,7 @@ export function updateTerrainTextureShader({
baseTextures,
alphaTextures,
visibilityMask,
tiling,
}) {
const layerCount = baseTextures.length;
@ -73,7 +74,7 @@ export function updateTerrainTextureShader({
// Add per-texture tiling uniforms
baseTextures.forEach((tex, i) => {
shader.uniforms[`tiling${i}`] = {
value: Math.min(512, { 0: 16, 1: 16, 2: 32, 3: 32, 4: 32, 5: 32 }[i]),
value: tiling[i] ?? 32,
};
});