summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-03-02 23:00:53 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-03-02 23:22:50 +0100
commitfda2558ff72882b0cd8ce41e761c95c77bc8faf5 (patch)
treed02e6fdba817cd1b926a47bbdd5957a36fcc7be7
parentc9768f15f7bb194622b9020ab2614d47ac7e63dd (diff)
Tweak the GIProbe gizmo to be more subtle
-rw-r--r--editor/spatial_editor_gizmos.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/spatial_editor_gizmos.cpp b/editor/spatial_editor_gizmos.cpp
index c155430eae..d6e443ec14 100644
--- a/editor/spatial_editor_gizmos.cpp
+++ b/editor/spatial_editor_gizmos.cpp
@@ -2724,10 +2724,11 @@ GIProbeGizmoPlugin::GIProbeGizmoPlugin() {
create_material("gi_probe_material", gizmo_color);
- gizmo_color.a = 0.5;
+ // This gizmo draws a lot of lines. Use a low opacity to make it not too intrusive.
+ gizmo_color.a = 0.1;
create_material("gi_probe_internal_material", gizmo_color);
- gizmo_color.a = 0.1;
+ gizmo_color.a = 0.05;
create_material("gi_probe_solid_material", gizmo_color);
create_icon_material("gi_probe_icon", SpatialEditor::get_singleton()->get_icon("GizmoGIProbe", "EditorIcons"));