Dynamic Sky Day/Night (Post Process)

Average Rating:  
X Rating Failed

We present a fully dynamic Day/Night system. Use any Sun/Moon texture!

  • Supported Platforms
  • Supported Engine Versions
    4.18

Description


This is a post process material and not a sky sphere material. That said, it can function along with a sky sphere by changing the UseSkyColor Bool, and it will appear behind the rendered elements.

See it in action: https://www.youtube.com/watch?v=ZnVRkATzsC4


This is a fully dynamic and ready to use solution for a sky and day/night cycle. Included is an example time of day blueprint that progresses the sun and moon around the scene. Clouds are rendered in a semi-volumetric fashion if you travel fast across the map you can see the clouds retain their position and form anew.


The material takes the primary directional light and renders your texture over its source in the sky. This is a post process material so no actual geometry is involved and it can be rendered over existing skyspheres (disable UseSkyColor) Clouds are rendered over the sun and moon, and are slightly affected by their brightness. Stars come out at night. This is a base to build off of providing your own textures and methods. The time of day bp advances the sun and moon on separate paths across the sky and determines when it's night time.


Many looks are attainable by changing settings and textures. Try disabling SkyColor and combine it with fog or a cubemap.


Performance: near 60fps on Intel HD 3000 graphics (old 2011 laptop)

Instruction count: 600-700 (high because of noise nodes, reduce levels or use textures to lower)


If anyone has version requests or issues please Email us at Vyrulentstudios@gmail.com

Technical Details


Features:

  • Animated sun (spikes rotate in opposite directions out of sync) (can use your own texture)
  • Non-animated sun (can use your own texture)
  • Moon (can use your own texture)
  • Controls for Sun/Moon size
  • Easily control shape and fluidity of clouds
  • Stars come out when it's dark
  • Easily adjust day/night length in time of day example blueprint

Texture Resolutions:

  • 2048x2048

Number of Materials: 1

Do Materials derive from a Master Material with instances as variation: No

Number of Textures: 2

Supported Development Platforms: PC/Mac/Etc.

Supported Target Build Platforms: PC/Xbox/PS

Documentation: Thoroughly documented in graph comments

Important/Additional Notes: Post Process, not Sky Sphere

Comments

!

Previous Next
  • Edit
  • Preview
  • Help
Enter
Login to comment
X Report this Comment
Report
X Attention


close
X Edit this Comment
  • Edit
  • Preview
  • Help
Update
X Remove this Comment

Are you sure you want to remove this comment?

Remove
X Attention