# Colored image in light function

**URL:** <https://forums.unrealengine.com/t/colored-image-in-light-function/448630>\
**Category:** Rendering\
**Tags:** spotlight, light-function, unreal-engine, volumetric-fog, question\
**Created:** [May 8, 2019, 4:58pm UTC](https://forums.unrealengine.com/t/colored-image-in-light-function/448630 "2019-05-08T16:58:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_152a96ab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_152a96ab](https://forums.unrealengine.com/u/anonymous_user_152a96ab)\
**Post date:** [May 8, 2019, 4:58pm UTC](https://forums.unrealengine.com/t/colored-image-in-light-function/448630/1 "2019-05-08T16:58:28Z")

</div>

Hello Folks,  
Is it possible to input a full color texture into a light function for a movable spotlight? I’ve only had success with greyscale. Also hoping to have it work in volumetric light.

---

<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:** [May 8, 2019, 6:33pm UTC](https://forums.unrealengine.com/t/colored-image-in-light-function/448630/2 "2019-05-08T18:33:24Z")

</div>

simply use 3 lights with red green and blue channels of you texture and light colors accordingly.

[http://timhobsonue4.snappages.com/lighting-colored-functions](http://timhobsonue4.snappages.com/lighting-colored-functions)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_152a96ab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_152a96ab](https://forums.unrealengine.com/u/anonymous_user_152a96ab)\
**Post date:** [May 8, 2019, 6:42pm UTC](https://forums.unrealengine.com/t/colored-image-in-light-function/448630/3 "2019-05-08T18:42:31Z")

</div>

I will see how this scales, I am building a Realtime lighting simulator for the concert industry, and we are using thousands of dynamic lights in our scenes. I will also test to see if it participates in volume properly.  
Thanks for the tip.

---

<div class="post-metadata">

**Author:** ![SFoster07](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sfoster07/32/1069314_2.png) [@SFoster07](https://forums.unrealengine.com/u/SFoster07)\
**Post date:** [February 20, 2023, 12:48pm UTC](https://forums.unrealengine.com/t/colored-image-in-light-function/448630/4 "2023-02-20T12:48:55Z")

</div>

I made a tutorial that shows how to make colored light functions [Fake Shadows and Colored Light Function - YouTube](https://youtu.be/eVd9PwiODSc)
