# Stencil Layers lighting and proper blending

**URL:** <https://forums.unrealengine.com/t/stencil-layers-lighting-and-proper-blending/1819278>\
**Category:** Rendering\
**Tags:** stencil, unreal-engine, Rendering, question\
**Created:** [April 24, 2024, 3:12pm UTC](https://forums.unrealengine.com/t/stencil-layers-lighting-and-proper-blending/1819278 "2024-04-24T15:12:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Czaja](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Czaja](https://forums.unrealengine.com/u/Czaja)\
**Post date:** [April 24, 2024, 3:12pm UTC](https://forums.unrealengine.com/t/stencil-layers-lighting-and-proper-blending/1819278/1 "2024-04-24T15:12:16Z")

</div>

Hi, I never successfully made any render using Movie Render Queue with the use of Stencil Layers that would be free of issues. Although I followed many tutorials and guides I always ended up having some issues with the dark/bright edges around different Stencil Layers or some major inconsistencies in lighting.  
What in offline renderers is just one click away, is impossible for me to obtain in UE5 no matter how many loops I jumped.

This time, using UE 5.4 I decided to ask for help, maybe I’m missing something terribly, but does anyone have an idea why lighting looks different on stencil layers than on the beauty pass?

_Beuty pass - this is a regular render and how it should look after composition_

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/0/0f05ecc2aac957270abb511b6782ecf7866749a5.jpeg)

_Some areas of the cylinder are too bright in comparison to the regular render_

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/5/c/45cbcf04fcf1d2a64b0d5539911e92f9bafb9872.jpeg)

_The base geometry is too bright around the edges where the cylinder is cut off. There is no such brightening in the regular render - beauty pass_

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/2/af2f52064c96e19eadef5d02ff5914cf7a53efe4.jpeg)

* * *

I believe I have everything set up correctly both in the Project settings and Render settings.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/f/5df481a9d85f42173beee596fffba9e13d58c079.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/5/f/55f01cf5349fe66e4973ac2dad324598ccb2d30c.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/1/dd1ea799a624e7b04fff308291110e310b71d35c.png)
