Skip to content

Commit

Permalink
Merge pull request #36743 from Calinou/tweak-giprobe-gizmo
Browse files Browse the repository at this point in the history
Tweak the GIProbe gizmo to be more subtle
  • Loading branch information
akien-mga authored Mar 4, 2020
2 parents 7c9e152 + fda2558 commit 0c53f1f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions editor/spatial_editor_gizmos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit 0c53f1f

Please sign in to comment.