Description

Regression: Tested in UE5/Release-5.0, the issue did not occur so this is a regression

Cast Dynamic Shadow should be enabled in the Landscape Grass Type by default, so shadows should be cast by the mesh used by the grass.

Steps to Reproduce
  1. Create a new Blank project with an Empty Level
  2. Create a new material
  3. Create two Constant Vector 3 nodes and set them to different values
  4. Create a Layer Blend node
  5. In the details panel, create two elements to the Layer Blend node with two different names
  6. Plug in the two Vector 3 nodes to the Layer Blend
  7. Plug the Layer Blend node to the Base Color
  8. Create a Landscape Grass Output node
  9. Create a Landscape Layer Sample node and connect it to the Landscape Grass Output node
  10. Set the parameter in the Landscape Layer Sample node to "Grass"
  11. Create a new Landscape Grass Type in the Content Browser
  12. Set the Grass Mesh to a static mesh (tested using Cylinder)
  13. Set the Grass Type in the Landscape Grass Output to the new Landscape Grass Type
  14. Create a new Landscape and assign it the created material
  15. Add a directional light to the scene
  16. In the details panel, enable Cast Ray Traced Shadows on the Directional Light

Actual Result: Cylinder grass does not cast any shadow on the terrain.

Expected Result: Cylinder grass casts shadows along the terrain.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-170796 in the post.

2
Login to Vote

By Design
ComponentUE - Rendering - Shadows
Affects Versions5.1
CreatedNov 22, 2022
ResolvedNov 23, 2022
UpdatedNov 23, 2022