# Access static lighting information from c++

**URL:** <https://forums.unrealengine.com/t/access-static-lighting-information-from-c/404631>\
**Category:** Rendering\
**Tags:** Lightmass, static-lights, unreal-engine, Lightmap, question, CPP\
**Created:** [September 15, 2017, 9:04am UTC](https://forums.unrealengine.com/t/access-static-lighting-information-from-c/404631 "2017-09-15T09:04:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bellian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bellian](https://forums.unrealengine.com/u/Bellian)\
**Post date:** [September 15, 2017, 9:04am UTC](https://forums.unrealengine.com/t/access-static-lighting-information-from-c/404631/1 "2017-09-15T09:04:50Z")

</div>

Hi,  
I want to know if it is possible to access the static lighting information of a StaticMeshComponent in the scene.

The idea was to try to detect completely occluded objects by evaluating the computed lighting information. Objects that receive no light will thereby be completely occluded and can be removed from the scene.

---

<div class="post-metadata">

**Author:** ![RodolfoBarcelli1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RodolfoBarcelli1](https://forums.unrealengine.com/u/RodolfoBarcelli1)\
**Post date:** [November 26, 2024, 8:46am UTC](https://forums.unrealengine.com/t/access-static-lighting-information-from-c/404631/2 "2024-11-26T08:46:44Z")

</div>

Hi there, did you ever find a solution for this? I am trying to do something similar and I haven’t really been able to figure this out
