# ray trace and foliage

**URL:** <https://forums.unrealengine.com/t/ray-trace-and-foliage/468980>\
**Category:** Rendering\
**Tags:** foliage-type, Raytracing, cascade-shadow, unreal-engine, question\
**Created:** [July 31, 2020, 3:01pm UTC](https://forums.unrealengine.com/t/ray-trace-and-foliage/468980 "2020-07-31T15:01:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Idgi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Idgi](https://forums.unrealengine.com/u/Idgi)\
**Post date:** [July 31, 2020, 3:01pm UTC](https://forums.unrealengine.com/t/ray-trace-and-foliage/468980/1 "2020-07-31T15:01:20Z")

</div>

Hello,

is there a way to disable from foliage actors the ray trace reflections and translucency, but leave the ray trace shadows on?

I know this comand, r.RayTracing.InstancedStaticMeshes 0  
but it disables everythig and as my foliage is in movable and raytrace is on, I have no cascade shadows or any shadows at all then.

If that is not possible, is there a way to work with raytrace for my “normal objects” and cascade shadows for my “foliage actors” at the same time?
