# Light Materials

**URL:** <https://forums.unrealengine.com/t/light-materials/436633>\
**Category:** Rendering\
**Tags:** Lights, light-function, unreal-engine, Lighting, question\
**Created:** [October 29, 2018, 11:56am UTC](https://forums.unrealengine.com/t/light-materials/436633 "2018-10-29T11:56:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dark\_Jubei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dark\_Jubei](https://forums.unrealengine.com/u/Dark_Jubei)\
**Post date:** [October 29, 2018, 11:56am UTC](https://forums.unrealengine.com/t/light-materials/436633/1 "2018-10-29T11:56:33Z")

</div>

Hi,

I would like to use a light to project a coloured pattern onto a wall. Is it possible to use a texture or material instead of a block colour for UE4 lights like you can in vray?

---

<div class="post-metadata">

**Author:** ![redbox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@redbox](https://forums.unrealengine.com/u/redbox)\
**Post date:** [October 29, 2018, 12:10pm UTC](https://forums.unrealengine.com/t/light-materials/436633/2 "2018-10-29T12:10:06Z")

</div>

you can use every channel of colored texture as light function of the same light color.

So create 3 light sources - red, green, and blue, and use 3 material instances with masked r/g/b texture channels, as their light functions. as result - you will get colored light function.

---

<div class="post-metadata">

**Author:** ![Dark\_Jubei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dark\_Jubei](https://forums.unrealengine.com/u/Dark_Jubei)\
**Post date:** [November 1, 2018, 10:58am UTC](https://forums.unrealengine.com/t/light-materials/436633/3 "2018-11-01T10:58:10Z")

</div>

Hi Man, does an image automatically have the RGB values? or do i have to set that up in photoshop first?

---

<div class="post-metadata">

**Author:** ![redbox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@redbox](https://forums.unrealengine.com/u/redbox)\
**Post date:** [November 1, 2018, 12:28pm UTC](https://forums.unrealengine.com/t/light-materials/436633/4 "2018-11-01T12:28:40Z")

</div>

Any image have 3 channels - red, green and blue. You need to import that image into unreal, and in light material get only specific channel.for every instance.
