Skip to content

Commit

Permalink
Add wireframe transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmaxfrank committed Jan 16, 2016
1 parent d525832 commit db9ee0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/com/brindyblitz/artemis/engconsole/ui/damcon/Damcon.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ private static void wireframeifyScene(Scene scene) {
private static Appearance getWireframeAppearance() {
Appearance appearance = new Appearance();

TransparencyAttributes transparency = new TransparencyAttributes(TransparencyAttributes.BLENDED, .75f);
appearance.setTransparencyAttributes(transparency);

Color awtColor = WIREFRAME_COLOR;
Color3f color = new Color3f(awtColor);
ColoringAttributes ca = new ColoringAttributes();
Expand Down

0 comments on commit db9ee0e

Please sign in to comment.