From 36ba6f035aa135dec898fe4105607ecb39b0fccf Mon Sep 17 00:00:00 2001 From: Alexander Rose <alexander.rose@weirdbyte.de> Date: Sun, 5 Feb 2023 15:45:39 -0800 Subject: [PATCH] increase max intensity in light/ambient params --- src/mol-gl/renderer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mol-gl/renderer.ts b/src/mol-gl/renderer.ts index 6b7c3564c..19f335ad6 100644 --- a/src/mol-gl/renderer.ts +++ b/src/mol-gl/renderer.ts @@ -109,7 +109,7 @@ export const RendererParams = { inclination: PD.Numeric(150, { min: 0, max: 180, step: 1 }), azimuth: PD.Numeric(320, { min: 0, max: 360, step: 1 }), color: PD.Color(Color.fromNormalizedRgb(1.0, 1.0, 1.0)), - intensity: PD.Numeric(0.6, { min: 0.0, max: 1.0, step: 0.01 }), + intensity: PD.Numeric(0.6, { min: 0.0, max: 5.0, step: 0.01 }), }, o => Color.toHexString(o.color), { defaultValue: [{ inclination: 150, azimuth: 320, @@ -117,7 +117,7 @@ export const RendererParams = { intensity: 0.6 }] }), ambientColor: PD.Color(Color.fromNormalizedRgb(1.0, 1.0, 1.0)), - ambientIntensity: PD.Numeric(0.4, { min: 0.0, max: 1.0, step: 0.01 }), + ambientIntensity: PD.Numeric(0.4, { min: 0.0, max: 2.0, step: 0.01 }), }; export type RendererProps = PD.Values<typeof RendererParams> -- GitLab