# A sort of bounding box for Spot Light?

**URL:** <https://forums.unrealengine.com/t/a-sort-of-bounding-box-for-spot-light/86313>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine\
**Created:** [February 27, 2017, 1:44pm UTC](https://forums.unrealengine.com/t/a-sort-of-bounding-box-for-spot-light/86313 "2017-02-27T13:44:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicholasunreal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nicholasunreal](https://forums.unrealengine.com/u/nicholasunreal)\
**Post date:** [February 27, 2017, 1:44pm UTC](https://forums.unrealengine.com/t/a-sort-of-bounding-box-for-spot-light/86313/1 "2017-02-27T13:44:58Z")

</div>

Hi.

I have a building with 10 floors and multiple room for each floor. All lights and objects need to be dynamic (moveable).

So to fake GI I’ve put a spot light over every window. Because some room is very “long” (on the perpendicular axis of the window) The attenuation radius of these room’s spotlight is quite big.

This made my scene very slow to calculate because of lights intersections between upper and lower floors.

So my point is: is there any way (like a bounding box) to limitate the area that need to be calculated (the single room) with his spotlight so I can not need to reduce atenuation radius leaving unlit a part of the room?

Thank you

 ![127619-room%20distance.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/2/5b222951fc6a668f8dc51282e54944e1980977ee.jpeg)  
 ![127620-room%20distance%202.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/0/b5066a9f77ebe78ebcaaf8d404da594c9853eb04.jpeg)  
 ![127631-light%20complexity.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/5/df5677642263e2175719c4144c1cac033610a56b.jpeg)

---

<div class="post-metadata">

**Author:** ![darthviper107](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/darthviper107/32/710746_2.png) [@darthviper107](https://forums.unrealengine.com/u/darthviper107)\
**Post date:** [February 27, 2017, 5:45pm UTC](https://forums.unrealengine.com/t/a-sort-of-bounding-box-for-spot-light/86313/2 "2017-02-27T17:45:45Z")

</div>

If all of your lights are movable then you don’t need to calculate lighting

---

<div class="post-metadata">

**Author:** ![nicholasunreal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nicholasunreal](https://forums.unrealengine.com/u/nicholasunreal)\
**Post date:** [February 28, 2017, 7:40am UTC](https://forums.unrealengine.com/t/a-sort-of-bounding-box-for-spot-light/86313/3 "2017-02-28T07:40:36Z")

</div>

I think you misunderstood the word “calculate”. I’m not saying “baking with lightmass”. I used “calculate” as exactly what it means: do some math operation to get an output from an input. Because gpu has to make operation to show you the final result with light applied on it, like for everything else.

---

<div class="post-metadata">

**Author:** ![heartlessphil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@heartlessphil](https://forums.unrealengine.com/u/heartlessphil)\
**Post date:** [March 1, 2017, 10:32am UTC](https://forums.unrealengine.com/t/a-sort-of-bounding-box-for-spot-light/86313/4 "2017-03-01T10:32:09Z")

</div>

Could you just use a couple of smaller spot lights per room instead of a giant one?
