Skip to content

Precomputed Atmospheric Scattering for Unreal Engine.

License

Notifications You must be signed in to change notification settings

SweetBiz/SweetAtmosphere

Repository files navigation

SweetAtmosphere

Precomputed Atmospheric (Single) Scattering for Unreal Engine. Looks good from within and outside of the atmosphere.

Use SweetAtmosphere to work around Unreal Engine's limitation of just allowing one SkyAtmosphere at a time. If you don't need to render multiple atmospheres at the same time, just use Unreal Engine's built in systems.

SweetAtmosphere does not support multiple scattering, clouds and volumetrics, so if you need any of those, try to use the built-in SkyAtmosphere instead.

Based on Schafhitzel, Tobias et al. “Real-Time Rendering of Planets with Atmospheres.” J. WSCG 15 (2007): 91-98.

Banner

precomputed_atmo_demo_scene.mp4

Usage

The recommended way to install SweetAtmosphere is by adding this repository as a git submodule to your project's Plugins folder.

Please examine the PrecomputedAtmosphereDemo Level in the Plugin's Content folder for a demo.

The Event Graph of BP_ExamplePlanetActor shows the basic setup, which consists of precomputing textures and binding them to the atmosphere material.

It is recommended to apply the atmosphere material to a cube with inverted normals. Such a mesh is supplied in the plugin content.

License

This project is licensed under the MIT License. Please make sure you comply with the license terms when using this library.

About

Precomputed Atmospheric Scattering for Unreal Engine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published