# Spotlight's light occluded facing towards camera

**URL:** <https://forums.unrealengine.com/t/spotlights-light-occluded-facing-towards-camera/403320>\
**Category:** Rendering\
**Tags:** dynamic-lighting, unreal-engine, stationary-light, lighting-problem, Rendering, Lighting, question\
**Created:** [August 30, 2017, 9:12pm UTC](https://forums.unrealengine.com/t/spotlights-light-occluded-facing-towards-camera/403320 "2017-08-30T21:12:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_ad34840a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ad34840a](https://forums.unrealengine.com/u/anonymous_user_ad34840a)\
**Post date:** [August 30, 2017, 9:12pm UTC](https://forums.unrealengine.com/t/spotlights-light-occluded-facing-towards-camera/403320/1 "2017-08-30T21:12:21Z")

</div>

I’m working on lighting a level for a game in which players use flash lights to navigate a backyard area at night. I’m using a movable directional light for the sun, and a movable skylight for ambient light.

The issue I’m running into is that whenever a player shines the light (a spotlight) towards the game camera (which is at a static position showing the field), the light seems to get occluded by the grass static mesh, giving off less light. I’m trying to avoid this because I want the player to be able to see the same cone of light from all angles.

Here’s an example: Cone A is what I get facing away from the camera actor. The Cone B is facing towards the camera. Note how it is barely visible.

 ![211684-cone-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/4/b040976ba54fb6d7bc9a4b4beda5de2c5643f5a3.jpeg)

Here’s a view from the other side. These are the same exact lights with same properties; however, I moved the camera around to the back, so now Cone B is on the left. The same problem persists where the light facing the camera loses visual effect.

 ![211685-cone-2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/3/4/c34e3efe776fd49513e86a434317b7175b47b5bf.jpeg)

So essentially I’m curious as to what actually causes this light “occlusion” to happen. Is there a light/static mesh property I can set to where I get the visual result of the Left cone regardless of direction?

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [August 30, 2017, 9:35pm UTC](https://forums.unrealengine.com/t/spotlights-light-occluded-facing-towards-camera/403320/2 "2017-08-30T21:35:38Z")

</div>

Just disable shadowcasting on your light

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ad34840a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ad34840a](https://forums.unrealengine.com/u/anonymous_user_ad34840a)\
**Post date:** [August 30, 2017, 9:52pm UTC](https://forums.unrealengine.com/t/spotlights-light-occluded-facing-towards-camera/403320/3 "2017-08-30T21:52:54Z")

</div>

Both lights shown in the screen captures have shadow casting turned off. Sorry, I forgot to mention that detail in the post.
