No announcement yet.

Volumetric Space Environment With RayMarching

  • Filter
  • Time
  • Show
Clear All
new posts

    [PLUGIN] Volumetric Space Environment With RayMarching

    Initially my attempt was to learn how to procedurally create Nebulas for a space scene for a dark fantasy non linear game that I have been planning to start working on for a while now. This was few days ago when I had no idea how volumetric shaders work, and I had ended up building some cool looking shaders with world displacement that was rather looking like a Planet shader and not something like cloudy gaseous structure. Then I started to learn about volumetric shader development, when I came across the concept of RayMarching, and boy that felt like a paradigm shift once I started to understand how it works and got the hang of it.

    Presenting a very early stage of how I utilized Raymarching for Volumetric Clouds in Unreal Engine 4. As of now, the clouds look comicky and not realistic, that is most likely because of the Noise shader I developed was a very simple Perlin-Worley noise. I will now start working on developing a more advanced Noise shader that might be able to give a more realistic look.

    Took me about 3-4 days to understand Raymarching following a bunch of tutorials, how Perlin Worley Noise works with cloud generation, and to develop the below shader with what I learnt. The shader is currently very unoptimized, the frame rate drops exponentially the closer you go towards the position of the volume where the shader is applied.

    Click image for larger version  Name:	HighresScreenshot00000.jpg Views:	0 Size:	362.6 KB ID:	1728405
    Click image for larger version  Name:	HighresScreenshot00002.jpg Views:	0 Size:	302.3 KB ID:	1728406
    Last edited by sameek4; 03-03-2020, 09:46 AM.
    DayNight Cycle -
    Jigsaw Puzzle Template -
    Post Process Blendables Volume 1 -
    MSSQL Integration for UE4 -
    Radar System with Minimap -