# Plotting a mesh with transparency with MeshViz.jl

**URL:** <https://discourse.julialang.org/t/plotting-a-mesh-with-transparency-with-meshviz-jl/92002>\
**Category:** General Usage\
**Tags:** plotting, mesh, makie\
**Created:** [December 22, 2022, 1:15pm UTC](https://discourse.julialang.org/t/plotting-a-mesh-with-transparency-with-meshviz-jl/92002 "2022-12-22T13:15:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_stla](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/_stla/32/35613_2.png) [@\_stla](https://discourse.julialang.org/u/_stla)\
**Post date:** [December 22, 2022, 1:15pm UTC](https://discourse.julialang.org/t/plotting-a-mesh-with-transparency-with-meshviz-jl/92002/1 "2022-12-22T13:15:17Z")

</div>

I have a mesh made with **Meshes.jl** and I plot it with **MeshViz.jl**. There’s a `alpha` parameter to set the transparency. When I use it, here is the result I obtain:

 ![Capture du 2022-12-22 14-12-17](https://global.discourse-cdn.com/julialang/original/3X/9/6/96fe3904632820ab2cdc8ff706cf0b34cd66b660.png)

How to solve this issue?

---

<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:** [December 27, 2022, 12:05pm UTC](https://discourse.julialang.org/t/plotting-a-mesh-with-transparency-with-meshviz-jl/92002/2 "2022-12-27T12:05:30Z")

</div>

This looks like it’s plotted with `transparency = false`. I don’t know how MeshViz handles that, but if you get it to pass `transparency = true` to `Makie.mesh!` you should get a better result.
