# How to set opacity of a mesh with post process

**URL:** <https://forums.unrealengine.com/t/how-to-set-opacity-of-a-mesh-with-post-process/433900>\
**Category:** Rendering\
**Tags:** Post-Processing, outline, opacity, unreal-engine, mask, question\
**Created:** [September 16, 2018, 1:04pm UTC](https://forums.unrealengine.com/t/how-to-set-opacity-of-a-mesh-with-post-process/433900 "2018-09-16T13:04:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Odd\_Way](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Odd\_Way](https://forums.unrealengine.com/u/Odd_Way)\
**Post date:** [September 16, 2018, 1:04pm UTC](https://forums.unrealengine.com/t/how-to-set-opacity-of-a-mesh-with-post-process/433900/1 "2018-09-16T13:04:21Z")

</div>

Hello,

I’m making a toon shader but i have problems with the outlines PP material.

Without masking the skybox there are lines in it so I don’t want that and when it’s masked the objects with the sky as background aren’t outlined anymore.

So I placed a sphere (with inverted normals) and now the outlines are good evrywhere and the skybox is clean but the problem is i need to set the opacity or at least hide this sphere where the PP mask is (in green on the second image).

 ![253847-images.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/7/2/f720893987309a213ed3e88dea5fdac69f742a70.jpeg)

Can someone help me please ?

Thanks.
