# SceneCapture2D has no shadows when raytrace enabled

**URL:** <https://forums.unrealengine.com/t/scenecapture2d-has-no-shadows-when-raytrace-enabled/467890>\
**Category:** Rendering\
**Tags:** rendertarget, shadow, scenecapture2d, Raytracing, no-shadows, unreal-engine, question\
**Created:** [July 9, 2020, 5:30am UTC](https://forums.unrealengine.com/t/scenecapture2d-has-no-shadows-when-raytrace-enabled/467890 "2020-07-09T05:30:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kuszi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kuszi](https://forums.unrealengine.com/u/kuszi)\
**Post date:** [July 9, 2020, 5:30am UTC](https://forums.unrealengine.com/t/scenecapture2d-has-no-shadows-when-raytrace-enabled/467890/1 "2020-07-09T05:30:43Z")

</div>

Hi

I have a very simple default scene with a cube, a Rendertarget material and a SceneCapture2D.

Using this in NON Raytrace mode the Rendertarget result has nice shadows.

However if Raytrace is enabled there are no shadows on the captured scene.

I have set all Postprocess raytrace options on SceneCapture2D (just to try, but no effect)

Is it a bug, or have I missed something?

thanks

 ![306615-raytrace-capture.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/9/929811b45b16b37c4e934f30fa1e65753f785d57.jpeg)

---

<div class="post-metadata">

**Author:** ![kuszi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kuszi](https://forums.unrealengine.com/u/kuszi)\
**Post date:** [July 9, 2020, 7:39am UTC](https://forums.unrealengine.com/t/scenecapture2d-has-no-shadows-when-raytrace-enabled/467890/2 "2020-07-09T07:39:35Z")

</div>

Holy s\*\*\*t  
I was blind

there is an option in the SceneComponent2D: “Use ray tracing if enabled”  
It must be set

 ![306618-raytrace-fix.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/7/f67f8c742cc28184cd7d985b04a29c13fb979d21.png)

---

<div class="post-metadata">

**Author:** ![megazord25](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@megazord25](https://forums.unrealengine.com/u/megazord25)\
**Post date:** [April 1, 2025, 9:25pm UTC](https://forums.unrealengine.com/t/scenecapture2d-has-no-shadows-when-raytrace-enabled/467890/3 "2025-04-01T21:25:07Z")

</div>

Just wanted to say thanks for this. Exactly what my problem was
