Search Unity

Raymarching Shader - Unity CG/C# Video Tutorial

Discussion in 'Community Learning & Teaching' started by PeerPlay, Nov 23, 2018.

  1. PeerPlay

    PeerPlay

    Joined:
    May 10, 2015
    Posts:
    65
    Welcome to the 'Raymarching Shader' tutorial!

    I'm super excited to share this video with you all. It took me a couple of months of research into the subject, and many days to create this video, and I hope that my way of explaining, will help you understand raymarching. I'm investing my time into researching cool subjects, so you don't have to anymore.

    Part #01 - Shader Theory

     
    sateyr and Lurking-Ninja like this.
  2. PeerPlay

    PeerPlay

    Joined:
    May 10, 2015
    Posts:
    65
    Part #02 - Camera Setup
    Released this new part. In this part we will setup the camera frustum to get the correct raydirections in the raymarching shader. We will start from scratch writing the project.

     
    sateyr likes this.
  3. PeerPlay

    PeerPlay

    Joined:
    May 10, 2015
    Posts:
    65
    Part #03 - Sphere Tracing
    Released this new part. In this part we will create the distance estimator; sphere tracing.

     
    sateyr likes this.
  4. PeerPlay

    PeerPlay

    Joined:
    May 10, 2015
    Posts:
    65
    Part #04 - Lambertian Lighting
    Released this new part. In this part we will calculate the normals, and use those to create lighting based on a directional light in Unity.

     
    sateyr likes this.
  5. PeerPlay

    PeerPlay

    Joined:
    May 10, 2015
    Posts:
    65
    Part #05 - Scene View Render
    In this part I will show you how to render the distance field in the scene view. By using the depth buffer of the camera we can combine raymarching with mesh objects, and freely rotate around the raymarching scene in Unity.

     
    sateyr likes this.
  6. PeerPlay

    PeerPlay

    Joined:
    May 10, 2015
    Posts:
    65
    Part 6 - Signed Distance Field

     
    sateyr likes this.
  7. PeerPlay

    PeerPlay

    Joined:
    May 10, 2015
    Posts:
    65
    Part 7 - Penumbra Shadows

     
    sateyr likes this.
  8. PeerPlay

    PeerPlay

    Joined:
    May 10, 2015
    Posts:
    65
    Chapter 8 - Ambient Occlusion

     
    sateyr likes this.
  9. PeerPlay

    PeerPlay

    Joined:
    May 10, 2015
    Posts:
    65
    Chapter 9 - Reflections

     
    sateyr likes this.
  10. PeerPlay

    PeerPlay

    Joined:
    May 10, 2015
    Posts:
    65
    Chapter 10 - Multiple Colors
     
    sateyr likes this.
  11. flecheria

    flecheria

    Joined:
    Apr 25, 2019
    Posts:
    17
    Hi
    fantastic work. I spotted on Youtube.
    But I'm testing in Unity 2019.1 and I noticed that SceneFilter doesn't works.
    Is for you the same thing? Any idea about?
    Anyway great work
    Thanks
    P
     
    Retrip likes this.