Sky Meshes are not Compatable with RDG-immediate on Mobile

UE version: 5.5, launcher

There is a test project in the attached file, and the test map is “TestGpuInstanceSky”.

In breaf, with mobile preview(VK), GPUScene, RDG Immediate mode on, sky pass gets wrong.[Image Removed]

It seems that sky meshes cannot fetch proper data from gpu scene.

重现步骤

  1. Enable GPUScene
  2. Switch to mobile preview (general VK)
  3. Create a new basic map
  4. Create a material with “is sky” enabled
  5. Create some basic shapes (2 cube) and assign the sky material to one shape
  6. Enable “r.RDG.ImmediateMode”

Hi,

你好,

移动端最近修复过两个immediate mode的问题,可以试试下面的改动

https://github.com/EpicGames/UnrealEngine/commit/5bb7cd51fcc93a03e43a57e446d3084baac42d51

https://github.com/EpicGames/UnrealEngine/commit/079a19df85ecd986fd0cb8a3fb455ba96ee39d1c

Hi,

我试了一下5.6,确实没有这个问题了。

谢谢