# Using light values as a texture mask?

**URL:** <https://forums.unrealengine.com/t/using-light-values-as-a-texture-mask/474618>\
**Category:** Rendering\
**Tags:** light, unreal-engine, Lighting, question\
**Created:** [November 17, 2020, 12:44pm UTC](https://forums.unrealengine.com/t/using-light-values-as-a-texture-mask/474618 "2020-11-17T12:44:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulojlopes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@paulojlopes](https://forums.unrealengine.com/u/paulojlopes)\
**Post date:** [November 17, 2020, 12:44pm UTC](https://forums.unrealengine.com/t/using-light-values-as-a-texture-mask/474618/1 "2020-11-17T12:44:08Z")

</div>

Hello, I think this will be a simple yes or no question, and the how will likely be simple too.  
In 3DsMas its very simple to do but in the Material Editor I have no idea where I get the light values and use it as a mask between two textures.  
In here you can see in the first box it has a texture for darkness and one for light, then the second box is defining the thresholds, it could be a soft gradient or a sharp cut.  
I use this result for both the base color and the emissive color and that’s its.  
How can I manage to pull this off in Unreal?

 ![322308-help.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/7/947d5c1c56fe057fbf02ef0e17abc37e80fb5a3a.jpeg)

Thanks
