mirror of
https://github.com/status-im/whispervis.git
synced 2025-02-01 16:04:56 +00:00
Improve materials
This commit is contained in:
parent
912b03c409
commit
d788cbb49d
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user