# Dark Circle that will hide real world objects behind it

**URL:** https://forum.magicleap.cloud/t/dark-circle-that-will-hide-real-world-objects-behind-it/2191
**Category:** Unity Development
**Tags:** unity
**Created:** [July 11, 2023, 1:08pm UTC](https://forum.magicleap.cloud/t/dark-circle-that-will-hide-real-world-objects-behind-it/2191 "2023-07-11T13:08:03Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![janikows](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@janikows](https://forum.magicleap.cloud/u/janikows)
#### Post date: [July 11, 2023, 1:08pm UTC](https://forum.magicleap.cloud/t/dark-circle-that-will-hide-real-world-objects-behind-it/2191/1 "2023-07-11T13:08:03Z")

</div>

I have a sprite with a dark circle in the center. It will occlude other virtual objects in the world but it will not block out objects in my real world. How do i get that dark circle to obstruct the view of real world objects?

---

<div class="post-metadata">

### Author: ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)
#### Post date: [July 12, 2023, 5:33pm UTC](https://forum.magicleap.cloud/t/dark-circle-that-will-hide-real-world-objects-behind-it/2191/3 "2023-07-12T17:33:31Z")

</div>

Hi @janikows,

Are you just trying to occlude part of the world using [segmented dimming?](https://learn.unity.com/tutorial/segmented-dimming?uv=2022.2&courseId=643419cbedbc2a5f42275126)

Best,

El

---

<div class="post-metadata">

### Author: ![janikows](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@janikows](https://forum.magicleap.cloud/u/janikows)
#### Post date: [July 12, 2023, 5:47pm UTC](https://forum.magicleap.cloud/t/dark-circle-that-will-hide-real-world-objects-behind-it/2191/4 "2023-07-12T17:47:23Z")

</div>

Ill try that thanks! I think its what i may need.

---

<div class="post-metadata">

### Author: ![janikows](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@janikows](https://forum.magicleap.cloud/u/janikows)
#### Post date: [July 13, 2023, 8:01pm UTC](https://forum.magicleap.cloud/t/dark-circle-that-will-hide-real-world-objects-behind-it/2191/5 "2023-07-13T20:01:45Z")

</div>

So i got the segmented dimmer set up on a box. When i place that box over my real world light I can still see the light shine slightly. I set its value to 1 so it shouldn't be see through still. I used the segmented Dimmer Material and set layer to SegmentedDimmer. Everything seems right just not as dim as i thought it would be.  
Ideas?

---

<div class="post-metadata">

### Author: ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)
#### Post date: [July 14, 2023, 4:26pm UTC](https://forum.magicleap.cloud/t/dark-circle-that-will-hide-real-world-objects-behind-it/2191/6 "2023-07-14T16:26:48Z")

</div>

We can't guarantee that real world lighting and objects will be 100% obscured. However there are a few routes that you could take to get _pretty close_:

- Use [global dimming](https://learn.unity.com/tutorial/global-dimming?uv=2022.2&courseId=643419cbedbc2a5f42275126) along with segmented dimming.

- Increase the size of the object rendering the dimmer pixels. This may result in more of a drop shadow type of effect around the digital content.

Let me know if this helps.

Best,

El
