# How Can I Get Lighting to affect Sprites?

**URL:** <https://forums.unrealengine.com/t/how-can-i-get-lighting-to-affect-sprites/47142>\
**Category:** Rendering\
**Tags:** unreal-engine, Lighting\
**Created:** [November 10, 2015, 6:33pm UTC](https://forums.unrealengine.com/t/how-can-i-get-lighting-to-affect-sprites/47142 "2015-11-10T18:33:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_0972e5c0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0972e5c0](https://forums.unrealengine.com/u/anonymous_user_0972e5c0)\
**Post date:** [November 10, 2015, 6:33pm UTC](https://forums.unrealengine.com/t/how-can-i-get-lighting-to-affect-sprites/47142/1 "2015-11-10T18:33:18Z")

</div>

Hey, I’m working on a project that’s largely sprite based and I thought before I started researching/working it out myself I just throw this up.  
Does anyone know if Unreal 4 sprites can even be effected my lights? (Point lights, spot lights, ect)  
So far it looks like they can’t unless we draw them darker for certain levels but that’s really tedious.  
Thanks for reading by the way.

---

<div class="post-metadata">

**Author:** ![JordanN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JordanN](https://forums.unrealengine.com/u/JordanN)\
**Post date:** [November 11, 2015, 7:06pm UTC](https://forums.unrealengine.com/t/how-can-i-get-lighting-to-affect-sprites/47142/2 "2015-11-11T19:06:26Z")

</div>

I’d love to know this as well. I’m in the midst of returning to UE4 after taking a couple months break from it, and now one of the first things I want to do is make some cool sprite art with it.

Unfortunately, that means I haven’t experimented with sprites yet (I’m in the same boat as you!), but, I have done some research on this before and there seems to be some solutions out there.

> **[Lighting a 2D Game](http://www.wholehog-games.com/devblog/2013/06/07/lighting-in-a-2d-game/)**
>
> Early in Full Bore's development, we thought that we had painted ourselves in to a corner visually. We had a look that we liked, but the clean easy-to-read block visuals that we favored while makin...

[http://forum.unity3d.com/threads/sprite-dlight-instant-normal-maps-for-2d-graphics.281463/](http://forum.unity3d.com/threads/sprite-dlight-instant-normal-maps-for-2d-graphics.281463/)

> **[Legend of Dungeon - Dynamic Lighting on Sprites](https://robotloveskitty.tumblr.com/post/33164532086/legend-of-dungeon-dynamic-lighting-on-sprites)**
>
> So I'm using normal mapping on pixel art. I'm surely not the first to think it up, but I don't know of another game thats doing this (if so please let me know :D)
> Here's what it looks like without...

It seems like all those techniques have in common is they use a normal map.

On a personal and slightly related note, all those games/examples take on a completely flat perspective. I’d love to know if anyone has information or has tried to light sprites that take on a 3D perspective. Basically, think back to those early Playstation 1 games whose worlds were 3D but had many 2D props.

[![](https://i.imgur.com/B3Mq4yE.jpg) ](https://i.imgur.com/B3Mq4yE.jpg)

---

<div class="post-metadata">

**Author:** ![Hyperloop](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hyperloop/32/1203427_2.png) [@Hyperloop](https://forums.unrealengine.com/u/Hyperloop)\
**Post date:** [November 11, 2015, 7:49pm UTC](https://forums.unrealengine.com/t/how-can-i-get-lighting-to-affect-sprites/47142/3 "2015-11-11T19:49:39Z")

</div>

Seems like a good candidate for material parameter collections. The tappy chicken project has a relevant example. Read more here: [Material Parameter Collections - Unreal Engine](https://www.unrealengine.com/blog/material-parameter-collections)

---

<div class="post-metadata">

**Author:** ![JordanN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JordanN](https://forums.unrealengine.com/u/JordanN)\
**Post date:** [November 11, 2015, 8:37pm UTC](https://forums.unrealengine.com/t/how-can-i-get-lighting-to-affect-sprites/47142/4 "2015-11-11T20:37:20Z")

</div>

> [@Hyperloop;418389](#):
>
> Seems like a good candidate for material parameter collections. The tappy chicken project has a relevant example. Read more here: [Material Parameter Collections - Unreal Engine](https://www.unrealengine.com/blog/material-parameter-collections)

Oh man, that looks perfect! 🙂

I love the idea of controlling lighting like a switch. And having full control over the colors too.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0972e5c0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0972e5c0](https://forums.unrealengine.com/u/anonymous_user_0972e5c0)\
**Post date:** [November 13, 2015, 4:58am UTC](https://forums.unrealengine.com/t/how-can-i-get-lighting-to-affect-sprites/47142/5 "2015-11-13T04:58:48Z")

</div>

Woah, thought this post would slip by unanswered. Thanks for the replies guys!
