How do you set bCastDynamicShadow to False?

I have a warning saying my landscape needs to set bCastDynamicShadow to False or suffer a large performance hit. I am looking in the details section for dynamic shadow casting but I don’t see anything. Could someone tell me where this lives? and how to change this flag?

thanks in advance.

2 Likes

here is what the manual says:

bCastDynamicShadow
Controls whether the primitive should cast shadows in the case of non precomputed shadowing.

OH NOW I GET HOW TO USE AND CONTROL THAT FUNCTION AND WHERE TO CHANGE IT!! (JOKE.) THAT IS FOR ALL THE TRIMES PEOPLE SAID R.T.F.M. ABOUT UE4! USELESS.

2 Likes

AS USUAL I FOUND IT MYSELF. I will put it here (and there) so people can see) ` I went into the Blueprint where the Mesh is used, and found Dynamic Shadows (and Static and CINMEMATIC! ) I unchecked Dynamic. I think that is what it meant by the error.

16 Likes

I know this is 2 yrs old but thank you for posting your find! I just had this error!

1 Like

Thank you very much ^-^

1 Like

In UE 5.3 I get this warning for a large mesh that has both static and dynamic shadows turned off. Not sure what else I’m supposed to do…

1 Like

I know it can be hard on here sometimes to get help but glad you figured it out. How something so small cause a big hit like this is crazy.

1 Like