# 3d model fade in/out

**URL:** <https://forums.unrealengine.com/t/3d-model-fade-in-out/491353>\
**Category:** Rendering\
**Tags:** Render, fade-in, unreal-engine, question\
**Created:** [November 26, 2021, 3:29pm UTC](https://forums.unrealengine.com/t/3d-model-fade-in-out/491353 "2021-11-26T15:29:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flame](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Flame](https://forums.unrealengine.com/u/Flame)\
**Post date:** [November 26, 2021, 3:29pm UTC](https://forums.unrealengine.com/t/3d-model-fade-in-out/491353/1 "2021-11-26T15:29:41Z")

</div>

Hi  
I was playing Ace attorney chronicles and noticed that the 3d characters have a perfect fade in/out like they are 2d sprites(while clearly, they aren’t). You cant see the back parts of the geometry) It also doesn’t look like they’re using render textures to project those 3d images(they interact with the environment, and they also don’t seem to be using mask mode and dithering the characters out either.) So, any ideas how they pulled this off?

you can see it here at this timestamp [The Great Ace Attorney Chronicles Walkthrough Gameplay Part 1 - No Commentary (PC) - YouTube](https://youtu.be/Xmd1X5SRgKM?t=405) (several characters appear and disappear)

thanks in advance!

---

<div class="post-metadata">

**Author:** ![Yamil.Roldan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Yamil.Roldan](https://forums.unrealengine.com/u/Yamil.Roldan)\
**Post date:** [November 26, 2021, 3:48pm UTC](https://forums.unrealengine.com/t/3d-model-fade-in-out/491353/2 "2021-11-26T15:48:28Z")

</div>

Hi! I just want to know a little bit more, you don’t want to use translucency to avoid performance impact?

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [November 26, 2021, 5:19pm UTC](https://forums.unrealengine.com/t/3d-model-fade-in-out/491353/3 "2021-11-26T17:19:59Z")

</div>

This is most likely PostProcessing, blending between a background and a rendered scene within a PostProcess material. You can use a CustomDepth value per character to create a mask for this.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/7/d/07d48bcfd9c0d09738315ef21a5564df128fbb9e.jpeg "How to Create Masks With the Custom Depth Buffer | Tips & Tricks | Unreal Engine") ](https://www.youtube.com/watch?v=JH07z9Ap1hk)

---

<div class="post-metadata">

**Author:** ![Flame](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Flame](https://forums.unrealengine.com/u/Flame)\
**Post date:** [November 26, 2021, 8:01pm UTC](https://forums.unrealengine.com/t/3d-model-fade-in-out/491353/4 "2021-11-26T20:01:26Z")

</div>

If i could not use translucency would be better for performance and for the shading to be more consistent as well. But even using translucency …not sure how I would get that effect(as if theyre translucent id see the "backfaces " and other meshes(like eyeballs and stuff) of stuff as things begin to disappear

---

<div class="post-metadata">

**Author:** ![Yamil.Roldan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Yamil.Roldan](https://forums.unrealengine.com/u/Yamil.Roldan)\
**Post date:** [November 26, 2021, 10:42pm UTC](https://forums.unrealengine.com/t/3d-model-fade-in-out/491353/5 "2021-11-26T22:42:07Z")

</div>

I think Seda145 answer is the right path for you, I went ahead and did a custom material that applies to your case here you have it

> **[Character fading posted by Raynardwolf | blueprintUE | PasteBin For Unreal...](https://blueprintue.com/blueprint/kwpe_xvh/#comment-1025)**
>
> No description provided

in the material there are two options

One (the top one) to use if your characters are goin to be one on each half of the screen this way you won’t have to assign different values to each character’s stencil and modify the material to add values.

The other (Bottom One) if your characters aren’t gonna be one in each half of the screen, with this one you’ll need to assign different stencil values to each character and modify the _ **"Masking character with Stencil value"** _ part of the material to add indexes.

Hope it helps!

---

<div class="post-metadata">

**Author:** ![Yamil.Roldan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Yamil.Roldan](https://forums.unrealengine.com/u/Yamil.Roldan)\
**Post date:** [November 26, 2021, 10:45pm UTC](https://forums.unrealengine.com/t/3d-model-fade-in-out/491353/6 "2021-11-26T22:45:21Z")

</div>

Edit, this is a post process material!!
