# Precomputed visibility cell question

**URL:** <https://forums.unrealengine.com/t/precomputed-visibility-cell-question/369085>\
**Category:** Getting Started & Setup\
**Tags:** precomputed-visibili, unreal-engine, question\
**Created:** [September 2, 2016, 8:51am UTC](https://forums.unrealengine.com/t/precomputed-visibility-cell-question/369085 "2016-09-02T08:51:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![byelove](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@byelove](https://forums.unrealengine.com/u/byelove)\
**Post date:** [September 2, 2016, 8:51am UTC](https://forums.unrealengine.com/t/precomputed-visibility-cell-question/369085/1 "2016-09-02T08:51:05Z")

</div>

I applied precomputed visibility to my project.

Does precomputed visibility work when camera is in the precomputed visibility cell?

If camera is out of precomputed visibility cell, Doesn’t work precomputed visibility?

 ![105371-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/a/5/9a53a3b52d3c18514bdad63ae21955ec2ec075d3.png)

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [September 2, 2016, 6:26pm UTC](https://forums.unrealengine.com/t/precomputed-visibility-cell-question/369085/2 "2016-09-02T18:26:56Z")

</div>

Hey byelove,

That would be correct. You can use Stat Initviews to check the stat for Statically Occluded Primitives and Occluded Primitives to make sure that it is working. Occluded Primitives will be the dynamic occlusion queries and Statically Occluded Primitives are the primitives occluded by precomputed visibility.

I have some information on my personal site here converted and based on the older UE3 documentation which is still pretty relevant. [http://timhobsonue4.snappages.com/culling-precomputed-visibility-volumes](http://timhobsonue4.snappages.com/culling-precomputed-visibility-volumes)

There is UE4 documentation being worked on for this as well.

I hope this helps.

Tim

---

<div class="post-metadata">

**Author:** ![byelove](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@byelove](https://forums.unrealengine.com/u/byelove)\
**Post date:** [September 4, 2016, 6:48am UTC](https://forums.unrealengine.com/t/precomputed-visibility-cell-question/369085/3 "2016-09-04T06:48:58Z")

</div>

Thank you Tim.  
If my camera in my project is so high.  
Should I adjust PlayArearHeight in the BaseLightMass.ini?  
My Project camera is so high. My project is third-person view.

---

<div class="post-metadata">

**Author:** ![byelove](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@byelove](https://forums.unrealengine.com/u/byelove)\
**Post date:** [September 5, 2016, 1:57am UTC](https://forums.unrealengine.com/t/precomputed-visibility-cell-question/369085/4 "2016-09-05T01:57:48Z")

</div>

And I have one more question.  
I am developing VR project.  
Someone tells me that precomputed visibility is only for mobile project,  
It’s right?  
Thank you

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [September 5, 2016, 3:24am UTC](https://forums.unrealengine.com/t/precomputed-visibility-cell-question/369085/5 "2016-09-05T03:24:29Z")

</div>

Adjust the PlayAreaHeight to fit your needs. If you have to set it to some really high value then you’ll probably not get the most out of Precomputed Visibility. You get better results when there is restricted movement for the player.

Precomputed Visibility will work with any platform. The fact that it gets more attention with mobile is due to the fact that there is no real dynamic occlusion on mobile devices. Dynamic occlusion queries are expensive and can be taxing on the GPU and with mobile’s limitations it’s more difficult. As phones get more powerful that will likely change though.

Precomputed visibility can work with anything. While it’s more often recommended to be used with mobile, platforms like VR can see the added benefit too since it reduces the number of hardware occlusion queries that need to be handled dynamically since the precomputed visibility is taking care of some of that!

Here’s the order to remember the expensiveness for visibility/occlusion culling:

- Cull Distance Volumes
- View Frustum Culling
- Precomputed Visibility
- Dynamic Occlusion (hardware occlusion queries)

---

<div class="post-metadata">

**Author:** ![byelove](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@byelove](https://forums.unrealengine.com/u/byelove)\
**Post date:** [September 5, 2016, 4:19am UTC](https://forums.unrealengine.com/t/precomputed-visibility-cell-question/369085/6 "2016-09-05T04:19:42Z")

</div>

It has been very helpful for me,  
Thanky you.
