# Contact shadows

**URL:** <https://forums.unrealengine.com/t/contact-shadows/214514>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine\
**Created:** [September 16, 2017, 6:55pm UTC](https://forums.unrealengine.com/t/contact-shadows/214514 "2017-09-16T18:55:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Apan3DS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Apan3DS](https://forums.unrealengine.com/u/Apan3DS)\
**Post date:** [September 16, 2017, 6:55pm UTC](https://forums.unrealengine.com/t/contact-shadows/214514/1 "2017-09-16T18:55:19Z")

</div>

Hello

I’ve been going through quite a few posts that touch the subject but not seen any straight answer to my question.

How does Contact shadows work, like the one in the attached image. It feels like there is no “easy” path but can they be achieved with all kind of light sources? Is it even dependent on the source itself or do i have to activate something in the settings?

---

<div class="post-metadata">

**Author:** ![trentpolack](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/trentpolack/32/1173069_2.png) [@trentpolack](https://forums.unrealengine.com/u/trentpolack)\
**Post date:** [September 16, 2017, 7:09pm UTC](https://forums.unrealengine.com/t/contact-shadows/214514/2 "2017-09-16T19:09:15Z")

</div>

> **[Contact Shadows](https://docs.unrealengine.com/4.27/en-US/BuildingWorlds/LightingAndShadows/ContactShadows/)**
>
> This page provides an overview of Contact Shadows in UE4.

Basically it’s a screen-space effect that traces rays from a light source to the pixel being processed (er, I think that may be the reverse, but it’s close enough for an explanation). You generally keep the contact shadow value limited to [0.0,1.0]; the the higher the value, the more artifacts you’ll receive. I generally keep mine at something like 0.1 or 0.2.

Though, reading the documentation, it refers only to point lights; I actually have mine on a directional light, so things may be a bit different.
