Hi everyone,
I recently ran into an issue where the Sky Atmosphere in my Unreal Engine project was appearing completely black. This happened when I was working on a VR project, and I discovered that the VR template, by default, uses forward rendering. After some research and testing, I found a solution that I hope will help others facing the same problem.
The Problem:
When using forward rendering (which is enabled by default in VR projects), the Sky Atmosphere component doesn’t render correctly, resulting in a black sky. This is a known issue with how forward rendering interacts with the Sky Atmosphere in Unreal Engine.
The Solution:
- If You Need to Use Forward Rendering:
- If your project requires forward rendering, you should switch to using the BP_SkySphere instead of the Sky Atmosphere component. The BP_SkySphere is more compatible with forward rendering and should display the sky as expected.
- Switching to Deferred Rendering:
- If your project doesn’t specifically require forward rendering, you can switch to deferred rendering. To do this, go to Project Settings > Rendering and set the default shading model to Deferred Rendering. This will allow the Sky Atmosphere component to work properly, providing the correct sky and atmospheric effects.
By making these changes, I was able to get the sky rendering correctly in my VR project. If you’re experiencing a black sky with the Sky Atmosphere in your VR project, I recommend checking your rendering settings and making the adjustments mentioned above.
Hopefully, this helps anyone else dealing with the same issue!