From d788cbb49dd458676b28e1cfddeb09745813241f Mon Sep 17 00:00:00 2001 From: Ivan Danyliuk Date: Mon, 22 Oct 2018 15:03:19 +0200 Subject: [PATCH] Improve materials --- material.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/material.go b/material.go index c10336a..a586025 100644 --- a/material.go +++ b/material.go @@ -34,9 +34,9 @@ func NewBlinkedNodeMaterial() three.Material { // NewEdgeMaterial creates a new default material for the graph edge lines. func NewEdgeMaterial() three.Material { params := three.NewMaterialParameters() - params.Color = three.NewColorRGB(200, 200, 255) - params.Transparent = false - params.Opacity = DefaultTransparency + params.Color = three.NewColorHex(0xf0f0f0) + params.Transparent = true + params.Opacity = 0.7 return three.NewLineBasicMaterial(params) }