From fd87b0e3f8de2ec7015111a81b205880f56ab7cf Mon Sep 17 00:00:00 2001 From: scamiv <6170744+scamiv@users.noreply.github.com> Date: Mon, 19 Jan 2026 19:55:19 +0100 Subject: [PATCH] adjusted defaults --- .../webgpu/render/TerritoryPostSmoothingRegistry.ts | 6 +++--- .../graphics/webgpu/render/TerritoryShaderRegistry.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/graphics/webgpu/render/TerritoryPostSmoothingRegistry.ts b/src/client/graphics/webgpu/render/TerritoryPostSmoothingRegistry.ts index e0fcb073d..be5a76a8e 100644 --- a/src/client/graphics/webgpu/render/TerritoryPostSmoothingRegistry.ts +++ b/src/client/graphics/webgpu/render/TerritoryPostSmoothingRegistry.ts @@ -28,8 +28,8 @@ export const TERRITORY_POST_SMOOTHING: TerritoryPostSmoothingDefinition[] = [ kind: "range", key: "settings.webgpu.territory.postSmoothing.blendStrength", label: "Blend Strength", - defaultValue: 1, - min: 0, + defaultValue: 0.2, + min: 0.01, max: 1, step: 0.01, }, @@ -108,7 +108,7 @@ export function buildTerritoryPostSmoothingParams( const blendStrength = userSettings.getFloat( "settings.webgpu.territory.postSmoothing.blendStrength", - 1, + 0.2, ); const dissolveWidth = userSettings.getFloat( "settings.webgpu.territory.postSmoothing.dissolveWidth", diff --git a/src/client/graphics/webgpu/render/TerritoryShaderRegistry.ts b/src/client/graphics/webgpu/render/TerritoryShaderRegistry.ts index 183993fa2..ee78cdf1c 100644 --- a/src/client/graphics/webgpu/render/TerritoryShaderRegistry.ts +++ b/src/client/graphics/webgpu/render/TerritoryShaderRegistry.ts @@ -194,7 +194,7 @@ export const TERRITORY_SHADERS: TerritoryShaderDefinition[] = [ key: "settings.webgpu.territory.retro.defendedThreshold", label: "Defended Threshold", defaultValue: 0.01, - min: 0, + min: 0.01, max: 1, step: 0.01, },