Skip to content

Commit ff614d6

Browse files
committed
light tweaks
1 parent 82081ec commit ff614d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/traces/streamtubes/convert.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -928,10 +928,10 @@ function calculateMesh(inputX, inputY, inputZ, inputC, inputMC, scalingFactor) {
928928
// meshColor: [0.12156862745098039,0.4666666666666667,0.9058823529411765,1],
929929
opacity: 1,
930930
lightPosition: [1e6 * scalingFactor[0], 1e6 * scalingFactor[1], 1e6 * scalingFactor[2]],
931-
ambient: 0,
931+
ambient: 0.2,
932932
diffuse: 1,
933933
specular: 0.3,
934-
roughness: 0.1,
934+
roughness: 0.2,
935935
fresnel: 0,
936936
vertexNormalsEpsilon: 0
937937
}

0 commit comments

Comments
 (0)