# Pretty mesh plot in GLMakie

**URL:** https://discourse.julialang.org/t/pretty-mesh-plot-in-glmakie/89679
**Category:** General Usage
**Tags:** makie, glmakie
**Created:** [November 2, 2022, 10:29pm UTC](https://discourse.julialang.org/t/pretty-mesh-plot-in-glmakie/89679 "2022-11-02T22:29:51Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![trashspam7](https://avatars.discourse-cdn.com/v4/letter/t/e79b87/32.png) [@trashspam7](https://discourse.julialang.org/u/trashspam7)
#### Post date: [November 2, 2022, 10:29pm UTC](https://discourse.julialang.org/t/pretty-mesh-plot-in-glmakie/89679/1 "2022-11-02T22:29:51Z")

</div>

Perhaps this is more of an artistic question, but I wanted to know if there are any recommendations for settings to play around with to make my plot prettier. I am using `GLMakie.mesh!` to plot some 3D surfaces within another 3D structure, but the 3D surfaces come out bland. I am unfortunately unable to provide a MWE, but I have attached the figure. I am also unsure why the 3D meshes are slightly transparent.

`GLMakie.mesh!(ax, verts, faces, shading=true)`

 ![sg27-4823-fermi](https://global.discourse-cdn.com/julialang/original/3X/3/1/31b5806d688b169f81e8f3c41d6c7063e62f65cc.png)

---

<div class="post-metadata">

### Author: ![ffreyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffreyer/32/21569_2.png) [@ffreyer](https://discourse.julialang.org/u/ffreyer)
#### Post date: [November 3, 2022, 1:56pm UTC](https://discourse.julialang.org/t/pretty-mesh-plot-in-glmakie/89679/2 "2022-11-03T13:56:43Z")

</div>

> I am also unsure why the 3D meshes are slightly transparent.

Try `transparency = false`.

Some more visualization options are noted here:  
[https://docs.makie.org/stable/documentation/lighting/](https://docs.makie.org/stable/documentation/lighting/)

---

<div class="post-metadata">

### Author: ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)
#### Post date: [November 3, 2022, 8:16pm UTC](https://discourse.julialang.org/t/pretty-mesh-plot-in-glmakie/89679/3 "2022-11-03T20:16:02Z")

</div>

It’s because the default color is slightly transparent

---

<div class="post-metadata">

### Author: ![trashspam7](https://avatars.discourse-cdn.com/v4/letter/t/e79b87/32.png) [@trashspam7](https://discourse.julialang.org/u/trashspam7)
#### Post date: [November 4, 2022, 2:22pm UTC](https://discourse.julialang.org/t/pretty-mesh-plot-in-glmakie/89679/4 "2022-11-04T14:22:31Z")

</div>

Thank you for the response! Just `transparency=false` did not help, but changing the color did, so I guess this option does not work for the default color.

 ![sg27-4823-fermi](https://global.discourse-cdn.com/julialang/original/3X/f/e/fede946db5cb30542a6df4f565b27f315755687f.png)

---

<div class="post-metadata">

### Author: ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)
#### Post date: [November 4, 2022, 2:56pm UTC](https://discourse.julialang.org/t/pretty-mesh-plot-in-glmakie/89679/5 "2022-11-04T14:56:42Z")

</div>

Transparency false doesn’t disable alpha I think, even if it sounds like it would

---

<div class="post-metadata">

### Author: ![trashspam7](https://avatars.discourse-cdn.com/v4/letter/t/e79b87/32.png) [@trashspam7](https://discourse.julialang.org/u/trashspam7)
#### Post date: [November 4, 2022, 3:35pm UTC](https://discourse.julialang.org/t/pretty-mesh-plot-in-glmakie/89679/6 "2022-11-04T15:35:53Z")

</div>

Another question - I am looking through this documentation ([Lighting](https://docs.makie.org/stable/documentation/lighting/)). However, when I try `GLMakie.activate!(ssao=true)` I get an error  
`ERROR: MethodError: no method matching activate!(; ssao=true)`

---

<div class="post-metadata">

### Author: ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)
#### Post date: [November 4, 2022, 3:47pm UTC](https://discourse.julialang.org/t/pretty-mesh-plot-in-glmakie/89679/7 "2022-11-04T15:47:20Z")

</div>

That’s in the latest version
