Daniel Ilett
Daniel Ilett
  • 78
  • 1 392 266
Unity Shader Graph Basics (Part 9 - Scene Intersections 2)
In this tutorial, we'll continue to use scene intersections to create shader effects. In this part, the shaders get a lot more complicated, and we'll start to see lots of nodes and techniques working together to create increasingly complex effects.
I'm using Unity 2022.3.0f1, although these steps should look similar in previous and subsequent Unity versions.
------------------------------------------------------------------------
👇 Download the project on GitHub: github.com/daniel-ilett/shader-graph-basics-2022-3
📰 Read this tutorial in article format instead: danielilett.com/2024-05-28-tut7-13-intro-to-shader-graph-part-9/
🍃 Get the grass texture: ambientcg.com/view?id=Grass001
🧱 Get the rock mesh: sketchfab.com/3d-models/rocks-3c14c9eb84a94cd1a353849607ea2550
------------------------------------------------------------------------
✨ Grab Snapshot Shaders Pro or Hologram Shaders Pro here (affiliate): assetstore.unity.com/publishers/42768?aid=1101lfDLn
📚 Get a copy of my shader book here (affiliate): www.dpbolvw.net/click-100742141-12898971?url=https%3A%2F%2Flink.springer.com%2Fbook%2F10.1007%2F978-1-4842-8652-4
------------------------------------------------------------------------
💬 Join the Discord: discord.gg/tPQEUwPpb3
💖 Support me on Patreon: www.patreon.com/danielilett?fan_landing=true
☕ Or throw me a one-off coffee on Ko-fi: ko-fi.com/danielilett
------------------------------------------------------------------------
Переглядів: 1 501

Відео

Unity Shader Graph Basics (Part 8 - Scene Intersections 1)
Переглядів 2,2 тис.Місяць тому
Many shader effects rely on detecting the intersection between the mesh being rendered and other objects in the scene. In this tutorial, I break down exactly how to detect those intersections and use the technique to create a basic ambient occlusion effect in screen-space. I'm using Unity 2022.3.0f1, although these steps should look similar in previous and subsequent Unity versions. 👇 Download ...
Unity Shader Graph Basics (Part 7 - Custom Lighting)
Переглядів 2,8 тис.Місяць тому
Although the Unlit shader type doesn't automatically add lighting to objects, we can implement our own lighting however we want. In this tutorial, learn how to add a Fresnel highlight to the edges of objects and create a basic cel-shaded effect which implements and augments diffuse lighting. I'm using Unity 2022.3.0f1, although these steps should look similar in previous and subsequent Unity ve...
Pokémon's Terastallize Effect in Shader Graph
Переглядів 3,5 тис.2 місяці тому
The core mechanic of Pokémon Scarlet and Violet is Terastallization, a phenomenon that changes the type and appearance of the Pokémon into a crystalline figure. It's the one part of the game that actually looks visually impressive, so in this tutorial video, I'm going to recreate the effect in Shader Graph! I'm using Unity 2022.3.0f1, although these steps should look similar in previous and sub...
Dithered Transparency in Unity Shader Graph
Переглядів 4,7 тис.2 місяці тому
Sometimes you want transparency, but you want the advantages of opaque rendering. That's where dithered transparency comes in: your objects appear transparent, but all the pixels are rendered opaque. Learn how games like Super Mario Odyssey implemented dithering with this tutorial! I'm using Unity 2022.3.0f1, although these steps should look similar in previous and subsequent Unity versions. 👇 ...
MGS Stealth Camo in Unity Shader Graph
Переглядів 2,1 тис.3 місяці тому
In the Metal Gear Solid series, you can get a stealth camouflage item through a series of increasingly bewildering challenges (mash triangle, shake booty, shoot toy frogs, buy from a guy with a pet monkey in a diaper etc). It renders Snake/Raiden completely invisible to the enemy, but completely jelly-like to the player for some reason. In this tutorial, we'll recreate the translucent, refracti...
Unity Shader Graph Basics (Part 6 - Lighting Basics)
Переглядів 4,4 тис.3 місяці тому
Lit shaders in Unity use physically based rendering techniques to model light as a function of an object's physical properties like smoothness, metallic, and albedo. Learn how to create Lit graphs in Part 6 of this tutorial series! I'm using Unity 2022.3.0f1, although these steps should look similar in previous and subsequent Unity versions. 👇 Download the project on GitHub: github.com/daniel-i...
Unity Shader Graph Basics (Part 5 - Vertex Shaders)
Переглядів 8 тис.4 місяці тому
Vertex shaders can be used to modify or animate the shape of the mesh. In this tutorial, I explain what vertex shaders do and then we use Shader Graph to create a wave animation on a normally flat plane mesh. I'm using Unity 2022.3.0f1, although these steps should look similar in previous and subsequent Unity versions. 👇 Download the project on GitHub: github.com/daniel-ilett/shader-graph-basic...
Making Effects with Godot Visual Shaders
Переглядів 13 тис.4 місяці тому
Godot is capable of some amazing visual effects through the use of shaders, including Visual Shaders, which are Godot's answer to Unity Shader Graph. In this video, I create dissolve, hologram, and hull outline shaders to explore the strengths and shortcomings of Godot's graphical offerings. 👇 Download the project on GitHub: github.com/daniel-ilett/shaders-godot 📰 Read this tutorial in article ...
Unity Shader Graph Basics (Part 4 - The Depth Buffer)
Переглядів 11 тис.6 місяців тому
Unity Shader Graph Basics (Part 4 - The Depth Buffer)
Unity Shader Graph Basics (Part 3 - Transparency and Alpha)
Переглядів 16 тис.6 місяців тому
Unity Shader Graph Basics (Part 3 - Transparency and Alpha)
Unity Shader Graph Basics (Part 2 - Textures and UVs)
Переглядів 17 тис.6 місяців тому
Unity Shader Graph Basics (Part 2 - Textures and UVs)
Unity Shader Graph Basics (Part 1 - Your First Shader)
Переглядів 35 тис.9 місяців тому
Unity Shader Graph Basics (Part 1 - Your First Shader)
What Unity's Pricing Changes Mean For This Channel
Переглядів 1,6 тис.9 місяців тому
What Unity's Pricing Changes Mean For This Channel
Voronoi-based Lava in Unity Shader Graph
Переглядів 7 тис.Рік тому
Voronoi-based Lava in Unity Shader Graph
Gaussian Blur Post Process in Unity 2021 URP
Переглядів 14 тис.Рік тому
Gaussian Blur Post Process in Unity 2021 URP
Outline Post Process in Unity Shader Graph (URP)
Переглядів 39 тис.Рік тому
Outline Post Process in Unity Shader Graph (URP)
Hologram Shaders Pro 1.0 Showcase
Переглядів 3,1 тис.Рік тому
Hologram Shaders Pro 1.0 Showcase
Energy Shield Hologram in Unity Shader Graph
Переглядів 8 тис.Рік тому
Energy Shield Hologram in Unity Shader Graph
Six Grass Rendering Techniques in Unity
Переглядів 47 тис.Рік тому
Six Grass Rendering Techniques in Unity
Shader Showcase Wave 2 (Now Available on itch.io)
Переглядів 5 тис.Рік тому
Shader Showcase Wave 2 (Now Available on itch.io)
Halftone Effect in Unity Shader Graph and URP
Переглядів 17 тис.Рік тому
Halftone Effect in Unity Shader Graph and URP
10 Shaders in 10 Minutes - Unity Shader Graph
Переглядів 95 тис.2 роки тому
10 Shaders in 10 Minutes - Unity Shader Graph
X-ray Stealth Vision in Unity Shader Graph and Universal Render Pipeline
Переглядів 14 тис.2 роки тому
X-ray Stealth Vision in Unity Shader Graph and Universal Render Pipeline
Creating Zelda: Breath of the Wild's Remote Bomb in Unity Shader Graph & VFX Graph
Переглядів 18 тис.2 роки тому
Creating Zelda: Breath of the Wild's Remote Bomb in Unity Shader Graph & VFX Graph
Channel Trailer - Daniel Ilett: Games | Shaders | Tutorials
Переглядів 7 тис.2 роки тому
Channel Trailer - Daniel Ilett: Games | Shaders | Tutorials
Impossible Geometry with Stencil Shaders in Unity URP
Переглядів 46 тис.2 роки тому
Impossible Geometry with Stencil Shaders in Unity URP
Recreate the PS1's Affine Texture Warping with Unity Shaders
Переглядів 32 тис.2 роки тому
Recreate the PS1's Affine Texture Warping with Unity Shaders
Decals & Stickers in Unity Shader Graph and URP
Переглядів 28 тис.2 роки тому
Decals & Stickers in Unity Shader Graph and URP
Making Glitter in Shader Graph and URP
Переглядів 41 тис.2 роки тому
Making Glitter in Shader Graph and URP

КОМЕНТАРІ

  • @jujda7
    @jujda7 9 годин тому

    theres no way that in blender you can do this with 3 nodes but unity has the most conveluted way possible. what the fuck is this

  • @AshwinSKumar
    @AshwinSKumar День тому

    Need help UV and texturing on Maya 3D?

  • @AshwinSKumar
    @AshwinSKumar День тому

    I need help not working!

  • @RamKumar-qs2hf
    @RamKumar-qs2hf День тому

  • @kooky74
    @kooky74 2 дні тому

    Hello. I did more or less the same things with HLSL in my custom VR engine. I'm asking, why not doing the whole in HLSL? And is it efficient? BTW thanks for your video. I didn't think we could do so complicated with shader graphs

    • @danielilett
      @danielilett 2 дні тому

      Doing this yourself directly in HLSL is almost certainly more efficient, but also a lot more complicated for a beginner (especially when you factor in depth passes, shadow passes etc, which Shader Graph does for you). The fact that Shader Graph lacks good support for custom lighting (even in later versions, you can get the main light direction and that's it) is restrictive, so this is an imperfect solution shown in the video, but yes it's nice that we can at least use a bit of HLSL code in graphs like this. It opens up a lot of complex possibilities!

    • @kooky74
      @kooky74 2 дні тому

      Thx for the answer. After 20 years of low level custom engine programming, I'm new to Unity and allways be surprised how doing complex stuffs can now be easy for a non expert with these tools ;)

  • @NewlandInteractive
    @NewlandInteractive 4 дні тому

    If anyone has a problem with the screen going black. Change the blend mode in the graph settings to premultiply!

  • @antifreeze88
    @antifreeze88 4 дні тому

    Hello! Great tutorial. Maybe you can give some advice how to add thickness and noise to outline?)

  • @truechina4514
    @truechina4514 5 днів тому

    Very easy to understand and useful video.

  • @UnTamedStArBlOb
    @UnTamedStArBlOb 5 днів тому

    why not just use local space for these shaders

    • @danielilett
      @danielilett 5 днів тому

      You can use local space if you want! Whatever space is most useful for the effect you're making. If you wanted objects to dissolve away when they fall below a certain y-level, for instance, it might be easier to use world space for that.

  • @FruitBK
    @FruitBK 6 днів тому

    Thank u so much~~~~~~~~~~~~~!!!!

  • @lonelysorrowknight
    @lonelysorrowknight 6 днів тому

    Which is more efficient?

  • @Jubsworth
    @Jubsworth 8 днів тому

    For your second sphere (scanlines) I can't seem to change the initial sphere from white after getting the scanlines working? Any tips?

  • @carlosisturiz917
    @carlosisturiz917 9 днів тому

    I'm new to Shader Graphs, and I wanted to ask, if I wanted to apply this vertex deformation to a sphere, so that it's surface undulated like that, what should I do?

  • @NTDev4
    @NTDev4 9 днів тому

    Anyone tried this in Unity 6? It's all working except the effect is only happening to one half (triangle) of the screen.

    • @NTDev4
      @NTDev4 9 днів тому

      Figured it out. The render feature "Pass" must be kept at "DrawProcedural" now.

  • @Kaizien
    @Kaizien 11 днів тому

    This series is gold! Thank you!

  • @mysticalfoxie
    @mysticalfoxie 12 днів тому

    Thanks buddy :)

  • @sandman76_
    @sandman76_ 12 днів тому

    epic

  • @AlqueMeteor
    @AlqueMeteor 14 днів тому

    I'm glad that I found you! the best shadergraph teacher so far!!

  • @coreyreagan5006
    @coreyreagan5006 14 днів тому

    This is the best video I've ever seen in my entire life

  • @user-ym7qj2iz5h
    @user-ym7qj2iz5h 17 днів тому

    thanks

  • @galamotshaku
    @galamotshaku 17 днів тому

    Thanks Daniel

  • @sahidom8007
    @sahidom8007 18 днів тому

    This is a great series. I have never worked with shaders and your tutorials have opened my eyes to the awesomeness that can be achieved. Thank you!

  • @Battan1337
    @Battan1337 18 днів тому

    More if this please! :) I want to know how to do post FX using vuisual shaders

  • @GameBit697
    @GameBit697 18 днів тому

    What about hairs in URP, will it work for the same or could you cover "Hairs in URP" topic?

  • @luisenriquecendejassosa6805
    @luisenriquecendejassosa6805 19 днів тому

    ufff 10/10

  • @helearme3744
    @helearme3744 20 днів тому

    My entire scene goes black and white when I put the material into the High Fidelity Renderer. None of the object textures appear, it's all white with black outlines

  • @gerardsm
    @gerardsm 20 днів тому

    How could i work this around with tiles so i can shape a plane however I want without stretching the shapes?

  • @darzeon
    @darzeon 22 дні тому

    You will learn more about nodes by watching tutorials and implementing them yourself, IMO, this is like letting someone else read the documentation for you. Math should be at the start.

    • @danielilett
      @danielilett 22 дні тому

      Yeah it would be great if I ever made Shader Graph tutorials, sadly I never thought of that

  • @sadusko7103
    @sadusko7103 23 дні тому

    The goose made everything more than clear! All jokes aside, this is highly professionally done and incredibly clear. I had yet to find someone that explained it instead of just telling us what to put where and which to connect to what. Thank you so much.

  • @JeffThePoustman
    @JeffThePoustman 23 дні тому

    Very helpful. Thank you.

  • @maxn9022
    @maxn9022 23 дні тому

    yay I wasted 1 hour of my life for nothing XD

  • @SubzeroBlack68
    @SubzeroBlack68 24 дні тому

    I am COMPLETELY NEW to shaders and post processing. But I was wondering if there's a way to get this effect different per character. Like some characters having different outline colors and thickness.

  • @SanLiuk
    @SanLiuk 25 днів тому

    hdrp?

  • @OffTheWeb
    @OffTheWeb 25 днів тому

    this was clutch

  • @jonassackarndt1174
    @jonassackarndt1174 25 днів тому

    Multiplying by an HDR enabled colour is the one idea i needed to get hdr on the Output of the blackbody emission. Thanks, hope that works.

  • @sleep0
    @sleep0 25 днів тому

    Thanks for the short and clear tutorial!

  • @okanaydin06
    @okanaydin06 27 днів тому

    Hi, I want to make blend transition, so I had my intersection shader which runs but just with opaque objects that can seen on camera. I want to make this effect with an object that doesnt seen on camera. How can I do that?

  • @Ambo100
    @Ambo100 28 днів тому

    A lot of comprehensive shader graph tutorials out there are already out of date after a few years. It's great to have such a comprehensive guide, thank you!

  • @PaidMonkey44
    @PaidMonkey44 28 днів тому

    For additional thickness Change the ones in the Divide node to a higher value

  • @Ambo100
    @Ambo100 29 днів тому

    One thing I think that is missing is that the Wind Speed and Wind Strength properties should be set to see anything. Otherwise another great tutorial, thank you.

  • @user-wm5sx3bn3y
    @user-wm5sx3bn3y Місяць тому

    Is this lua script?

  • @Cassie-dj5lc
    @Cassie-dj5lc Місяць тому

    couldn't get specular light with Unity 2021

  • @ConstantineG
    @ConstantineG Місяць тому

    I love unity's dither node but I always thought the steps were too limited for smooth transitions. Maybe instead of using the dither node one could make a more complex (with more greyscale steps) texture and use it with a step node instead?

    • @danielilett
      @danielilett Місяць тому

      Yep, definitely a valid way to do it! The Dither node uses a 4x4 repeating pattern so if you want a more fine-tuned transition you could use an 8x8 texture or something.

  • @napstablook8858
    @napstablook8858 Місяць тому

    got a problem where the outline only applies on half the screen in blit mode (also the outline won't appear in the game view), any idea as to why it happens? pls I am desperate

  • @Hazzel31337
    @Hazzel31337 Місяць тому

    great video thank you

  • @kiPROBRos
    @kiPROBRos Місяць тому

    Friends, I would like to ask you to publish more tutorials for Shader Graph, because your tutorials are excellent. I believe that you have additional obligations, but if you could, you would do a lot for us beginners.

  • @ooDEFENDERoo
    @ooDEFENDERoo Місяць тому

    Thank you for the video! You are the best!

  • @Maskeowl
    @Maskeowl Місяць тому

    lesgo

  • @zing3647
    @zing3647 Місяць тому

    i need help projecting a urp decal (or any decal) onto the surface of a transparent sphere, would you know how to do that by any chance