From 7fe1617f25c7faf25c83c211e2a052a7ac701980 Mon Sep 17 00:00:00 2001 From: Alexander Rose <alexander.rose@weirdbyte.de> Date: Sat, 3 Dec 2022 21:46:30 -0800 Subject: [PATCH] shadow param tweaks --- src/mol-canvas3d/passes/postprocessing.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mol-canvas3d/passes/postprocessing.ts b/src/mol-canvas3d/passes/postprocessing.ts index ab2b06dad..b963c66d4 100644 --- a/src/mol-canvas3d/passes/postprocessing.ts +++ b/src/mol-canvas3d/passes/postprocessing.ts @@ -343,9 +343,9 @@ export const PostprocessingParams = { }, { cycle: true, description: 'Darken occluded crevices with the ambient occlusion effect' }), shadow: PD.MappedStatic('off', { on: PD.Group({ - steps: PD.Numeric(1, { min: 1, max: 20, step: 1 }), + steps: PD.Numeric(1, { min: 1, max: 64, step: 1 }), bias: PD.Numeric(0.6, { min: 0.0, max: 1.0, step: 0.01 }), - maxDistance: PD.Numeric(3.0, { min: 0.0, max: 100.0, step: 1.0 }), + maxDistance: PD.Numeric(3, { min: 0, max: 256, step: 1 }), tolerance: PD.Numeric(1.0, { min: 0.0, max: 10.0, step: 0.1 }), }), off: PD.Group({}) -- GitLab