# FMOD for Unreal, Occlusion returns only 0 or 1, is no intermediate values is expected behaviour?

**URL:** https://qa.fmod.com/t/fmod-for-unreal-occlusion-returns-only-0-or-1-is-no-intermediate-values-is-expected-behaviour/23765
**Category:** FMOD Studio
**Created:** [December 4, 2025, 4:48pm UTC](https://qa.fmod.com/t/fmod-for-unreal-occlusion-returns-only-0-or-1-is-no-intermediate-values-is-expected-behaviour/23765 "2025-12-04T16:48:18Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![li\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/li_fmod/32/6577_2.png) [@li\_fmod](https://qa.fmod.com/u/li_fmod)
#### Post date: [December 11, 2025, 12:06am UTC](https://qa.fmod.com/t/fmod-for-unreal-occlusion-returns-only-0-or-1-is-no-intermediate-values-is-expected-behaviour/23765/2 "2025-12-11T00:06:37Z")

</div>

Hi,

Thank you for sharing the information!

> [@JoeChip](#):
>
> Is this the intended design of FMOD for Unreal occlusion (single line trace → 0 or 1)?  
> Or should the FMOD integration provide continuous occlusion values by default?

Yes, the behaviour you are seeing (the parameter switching only between 0 and 1) is the intended design of the current FMOD Unreal plugin.

> [@JoeChip](#):
>
> I want to confirm whether the plugin is working correctly, or if continuous occlusion requires implementing a custom solution (e.g., multiple raycasts and setting the parameter manually).

Your setup sounds correct to me.

If you require continuous occlusion values, you might need to implement a custom solution on the Unreal side.

For sound design ideas on enhancing the perception of occlusion, this related post may offer some general ideas: [How to create illusion of source occlusion with reverb](https://qa.fmod.com/t/how-to-create-illusion-of-source-occlusion-with-reverb/23753)

Hope this helps!

---

_[View the full topic](https://qa.fmod.com/t/fmod-for-unreal-occlusion-returns-only-0-or-1-is-no-intermediate-values-is-expected-behaviour/23765)._
