# How to get scene luminance/illumination at runtime ?

**URL:** <https://forums.unrealengine.com/t/how-to-get-scene-luminance-illumination-at-runtime/478115>\
**Category:** Rendering\
**Tags:** noise, unreal-engine, Rendering, Shaders, question\
**Created:** [February 2, 2021, 8:25am UTC](https://forums.unrealengine.com/t/how-to-get-scene-luminance-illumination-at-runtime/478115 "2021-02-02T08:25:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![YedesCodes](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yedescodes/32/981996_2.png) [@YedesCodes](https://forums.unrealengine.com/u/YedesCodes)\
**Post date:** [February 2, 2021, 8:25am UTC](https://forums.unrealengine.com/t/how-to-get-scene-luminance-illumination-at-runtime/478115/1 "2021-02-02T08:25:10Z")

</div>

Hello UE4 community 🙂

I am working on a realistic noise for my simulated camera and inside my noise formula I need to get the scene illumination/luminance, the same value used for eye adaptation/auto exposure.

Is there a way to get or calculate that value at runtime ? either in c++, blueprints or in shader editor please ?

This image shows the desired information to get :

 ![328655-averageluminance.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/3/923683a745e0c3face9a2387c00b57268daf2bf0.png)

Thanks in advance for your help 🙂

---

<div class="post-metadata">

**Author:** ![YedesCodes](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yedescodes/32/981996_2.png) [@YedesCodes](https://forums.unrealengine.com/u/YedesCodes)\
**Post date:** [February 7, 2021, 7:36pm UTC](https://forums.unrealengine.com/t/how-to-get-scene-luminance-illumination-at-runtime/478115/2 "2021-02-07T19:36:17Z")

</div>

So after long researches in the source code, I think there is no possible way to get that value at runtime with the existing functions on Unreal Engine.  
So I have modified the source code to add a new material node with the SceneAverageLuminance value as the result and now I can access the scene luminance inside material editor with a simple node.

---

<div class="post-metadata">

**Author:** ![Bzilin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bzilin](https://forums.unrealengine.com/u/Bzilin)\
**Post date:** [September 4, 2023, 7:11am UTC](https://forums.unrealengine.com/t/how-to-get-scene-luminance-illumination-at-runtime/478115/3 "2023-09-04T07:11:17Z")

</div>

hello? how to do this?

---

<div class="post-metadata">

**Author:** ![mdawn845](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mdawn845](https://forums.unrealengine.com/u/mdawn845)\
**Post date:** [September 1, 2026, 12:54pm UTC](https://forums.unrealengine.com/t/how-to-get-scene-luminance-illumination-at-runtime/478115/4 "2026-09-01T12:54:39Z")

</div>

Can you post how you did this? I am interested for tonemapping purposes
