Search Unity

  1. Click here to see what's on sale for the "Best of Super Sale" on the Asset Store
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Games [WIP] SDF raymarching tool - Shaping clouds

Discussion in 'Works In Progress' started by b1gry4n, Sep 26, 2020.

  1. b1gry4n

    b1gry4n

    Joined:
    Sep 11, 2013
    Posts:
    110
    I originally created this tool because I wanted the ability to shape raymarched clouds. I was inspired by Sky:Children of Light. Most raymarch solutions you find, the clouds are on a plane in the sky or surrounding the camera and all based off a noise texture with no ability to shape and form the clouds. Today the tool got to a point where I was actually able to have a resemblance of clouds. Theres still more work that can be done with the clouds themselves to make them look better (lighting, transparency, etc). The raymarch itself can be hooked up to amplify shader editor with a custom node allowing for quick edits

    You directly use the inspector to create new shapes by typing the shader code for that shape : https://iquilezles.org/www/articles/distfunctions/distfunctions.htm

    It compiles the shader code from the code youve typed in the inspector per object. This means you could have similar shapes with slight variance (3 spheres with different noise for example).

     
    Jum likes this.
unityunity