Description

UPDATED DESCRIPTION
When enabling Cast Modulated Shadows on a Directional Light and using Mobile MSAA on Android OpenGL ES 2, shadows from the Directional Light do not render when dynamic objects are moving or at rest.

This issue does not occur when using OpenGL ES 3.1 on Android.

ORIGINAL DESCRIPTION
Mobile MSAA breaks modulated shadow in mobile preview on PC

Steps to Reproduce

UPDATED REPRO

  1. Create a new Blueprint First Person template project
  2. Select the Directional Light in the level
  3. In the Details panel, expand the advanced options dropdown for the Lights heading
  4. Check the box for Cast Modulated Shadows
  5. Navigate to Edit > Project Settings > Engine > Rendering
  6. Under the Mobile heading, set Mobile MSAA to 8x MSAA
  7. Navigate to Platforms > Android
  8. Press the Configure Now button in the red banner under the APK Packaging heading
  9. Under the Build heading, enable Support OpenGL ES2
  10. Package the project for Android (ETC2) in the *Development build configuration
  11. Navigate to your project's Android_ETC2 folder and run the Install_<projectName>.bat file
  12. Open the app on device
  13. Shoot projectiles into the cubes so that they move

ORIGINAL REPRO

  1. Create a new project with a Directional light casting Modulated Shadows (enabled by default)
  2. Enable Mobile MSAA in project settings
  3. Play in Mobile Preview
  4. Observe missing shadows

Expected Result
The cubes have shadows that render correctly as they move and after they come to rest

Actual Result
The cubes do not have shadows when moving or when at rest

Have Comments or More Details?

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

2
Login to Vote

Won't Fix
ComponentUE - Platform - Mobile
Affects Versions4.194.21
CreatedApr 2, 2018
ResolvedJun 18, 2019
UpdatedSep 16, 2019