# Emissive in niagara produce wrong position light

**URL:** <https://forums.unrealengine.com/t/emissive-in-niagara-produce-wrong-position-light/1189766>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [June 5, 2023, 4:28pm UTC](https://forums.unrealengine.com/t/emissive-in-niagara-produce-wrong-position-light/1189766 "2023-06-05T16:28:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ToccGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/toccgames/32/705170_2.png) [@ToccGames](https://forums.unrealengine.com/u/ToccGames)\
**Post date:** [June 5, 2023, 4:28pm UTC](https://forums.unrealengine.com/t/emissive-in-niagara-produce-wrong-position-light/1189766/1 "2023-06-05T16:28:10Z")

</div>

Hi everyone,

Is there a way to prevent such bad lighting with emissive material in a Niagara particle?  
The back of the corridor should not be enlight.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/9/349d18e8765b0d42a0b23b48dca9b564d4ed20bd.jpeg)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 5, 2023, 4:41pm UTC](https://forums.unrealengine.com/t/emissive-in-niagara-produce-wrong-position-light/1189766/2 "2023-06-05T16:41:16Z")

</div>

With UE5 emissive now lights the environment by default.

You can stop it from happening with a hack in the material

> [@Lumen - Material Pass Replace Node](https://forums.unrealengine.com/t/lumen-material-pass-replace-node/231883/2):
>
> On ue5-main there’s a LUMEN\_CARD\_CAPTURE define, so you can do something like this in a custom node: #if LUMEN\_CARD\_CAPTURE return InputA; #else return InputB; #endif

---

<div class="post-metadata">

**Author:** ![ToccGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/toccgames/32/705170_2.png) [@ToccGames](https://forums.unrealengine.com/u/ToccGames)\
**Post date:** [June 5, 2023, 4:44pm UTC](https://forums.unrealengine.com/t/emissive-in-niagara-produce-wrong-position-light/1189766/3 "2023-06-05T16:44:19Z")

</div>

Actually, I have no issue with the fact that the material lights the environment.  
But I do not understand why the light is on the background while the closest wall is unaffected by the material.  
I guess it is due to some screen space calculation but I do not get it.

I’m going to check your link, it can help me ^^

---

<div class="post-metadata">

**Author:** ![ToccGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/toccgames/32/705170_2.png) [@ToccGames](https://forums.unrealengine.com/u/ToccGames)\
**Post date:** [June 5, 2023, 5:17pm UTC](https://forums.unrealengine.com/t/emissive-in-niagara-produce-wrong-position-light/1189766/4 "2023-06-05T17:17:15Z")

</div>

I made a short video to better explain my issue:

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/b/2/2b20ce348c41da59e4f3df1a12a8d423af80d5d4.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/b/2/2b20ce348c41da59e4f3df1a12a8d423af80d5d4.mp4)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 6, 2023, 11:56am UTC](https://forums.unrealengine.com/t/emissive-in-niagara-produce-wrong-position-light/1189766/5 "2023-06-06T11:56:51Z")

</div>

Do you have global illumination set to ‘screen space’ or Lumen ( project settings )?

---

<div class="post-metadata">

**Author:** ![ToccGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/toccgames/32/705170_2.png) [@ToccGames](https://forums.unrealengine.com/u/ToccGames)\
**Post date:** [June 6, 2023, 3:14pm UTC](https://forums.unrealengine.com/t/emissive-in-niagara-produce-wrong-position-light/1189766/6 "2023-06-06T15:14:29Z")

</div>

Yes we are using Lumen in UE5.2.  
But I guess Lumen is not ready to deal with transparent and emissive material?

I manage to deal with it by preventing the material to participate to the Lumen scene.

I also know that the command r.Lumen.ScreenProbeGather.ScreenTraces = 0 make the light trace disapear, but it also reduce the indirect lighting quality.

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [June 7, 2023, 2:59pm UTC](https://forums.unrealengine.com/t/emissive-in-niagara-produce-wrong-position-light/1189766/7 "2023-06-07T14:59:41Z")

</div>

This is an issue with Lumen when using TSR, I noted it [here](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/844) and [here](https://forums.unrealengine.com/t/tsr-feedback-thread/883977/34):

A [fix is coming](https://forums.unrealengine.com/t/tsr-feedback-thread/883977/36) (as I understand it) but in the meantime you can use TAA.

---

<div class="post-metadata">

**Author:** ![ToccGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/toccgames/32/705170_2.png) [@ToccGames](https://forums.unrealengine.com/u/ToccGames)\
**Post date:** [June 27, 2023, 6:05am UTC](https://forums.unrealengine.com/t/emissive-in-niagara-produce-wrong-position-light/1189766/8 "2023-06-27T06:05:17Z")

</div>

I just saw your answer, and thank you it was exactly this issue we faced.  
I keep that as an answer.

Have a good day
