Unreal Shaders - Sun

Tried to make a Sun animation in Unreal Engine 4.16.1. Welcome any advice and suggestions :D

(Adding ‘not real Sun’ is to prevent if any misusage in science related things)

No particles used.

There are two separated Meshes: the sun sphere and a plane. No vertex animation. The quad plane performs the atmosphere. It splits the Sun from the center and is set to billboard inside the material. Below is the material snapshots for reference.

The Sun sphere:

Three Noise nodes are used to make the basic bright area, black dots, and upper bright gas. Noise are based on local position and time to get some change overtime. To make it less consume I’m considering using noise maps instead of Noise node, but currently wondering how to deal with the uv arrangement of sphere to make the noise textures looks seamless when changing.

The Plane:

It is a simple solution that I rotated one texture by two different directions and speeds, and used sine function for different changing opacities.

Sometimes you can see very bright storm appear – this is controlled by a blueprint to randomly place a small storm mesh at the surface of the sun sphere, in order to make a bright storm and looks 3D.

Welcome any thoughts :D

# Shader, UE4

Comments

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×