Energy Shield Effect in Unity URP Shader Graph

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024
  • Wishlist Ultranova on Steam: store.steampow...
    In this video I walk you through the Unity URP Shader Graph to create a dynamic spherical shield that distorts the background with Screen Color (what used to be Grab pass), pulsates, animates the colors and tiles, and responds to bullet impacts. The Tutorial Tier on my Patreon page can download a Unity Project with the shader graph and C# script that drives the bullet impacts. Thanks for watching!
    Distortion Shader in Unity 2019 with Shader Graph! (Tutorial)
    • Distortion Shader in U...
    Unity VFX Graph - Shield Effect Tutorial
    • Unity VFX Graph - Shie...
    My Patreon page:
    / imphenzia
    Follow me on Twitter:
    / imphenzia
    Imphenzia Discord server invite:
    / discord
    Imphenzia Merch:
    teespring.com/...
    My Twitch Channel:
    / imphenzia
    Official website:
    www.imphenzia.com
    My Itch.Io page with all my Ludum Dare games:
    imphenzia.itch...
    Additional info:
    I've been modeling in Blender since about 2015, but more recently in the past couple of years. I've been making games and assets in Unity since 2011, and I'm currently working on a multiplayer RTS game called Line War.
    I use a Sony FX3 camera with a Sony FE 2.8/24-70mm GM lens. My main microphone is now the Shure SM7B, and I use a Rode NTG3 shotgun mic if I need it to be out of view. I downgraded to a Focusrite Solo from my wonderful RME Fireface UFX II that I had to sell when I moved from Sweden.
    Thanks a lot for watching and sharing my videos :)

ความคิดเห็น • 63

  • @volfknowsnobounds
    @volfknowsnobounds ปีที่แล้ว +1

    You had me on the explanation then I learned how to eat spaghetti with a spoon. *+10 knowledge gained*

  • @JustPeterSteel
    @JustPeterSteel ปีที่แล้ว +1

    Not gonna lie, as amazing as this is, and thanks for sharing it, it's way too advanced for me at this point, so maybe I'll come revisit it in a year or two.

    • @Imphenzia
      @Imphenzia  ปีที่แล้ว +6

      I will do beginner tutorials for shader graph too, and I should label them appropriately too.

  • @Barao321
    @Barao321 ปีที่แล้ว

    very good shield, good work "the greater the force the greater the responsibility"🌏🌖

  • @logicprojects
    @logicprojects ปีที่แล้ว +5

    Beautiful explanation! I'm always afraid of going this far with shaders because I don't know how to measure their performance hit properly. This looks super cool!

    • @Imphenzia
      @Imphenzia  ปีที่แล้ว +6

      Thanks. I think about performance too, and in this case I came to the insight that it will only be one or very few instances of the shader active at any time so I am not too to concerned in those cases. Also, once the screen grab pass is done, all materials can access it if nweded without additional performance hit. The vertex displacement is very cheap, and it is good to keep the texture as low res as you can to reduce unnecessary bandwidth. Finally many mathnodes may look heavy for the shader, put at the end its only a * or a + sign in the actual shader code so it looks worse than it is sometimes.

  • @midniteoilsoftware
    @midniteoilsoftware ปีที่แล้ว

    Beautiful!

  • @StigDesign
    @StigDesign ปีที่แล้ว

    Gimp is great its what i use often :D

  • @NatureRiders8107
    @NatureRiders8107 5 หลายเดือนก่อน

    game name ? any tutorial

  • @westingtyler1
    @westingtyler1 ปีที่แล้ว

    0:20 "then AI left me without any idea how to implement it... AI can't solve everything yet."
    actually you could have just said "write a step by step, jargon-filled, technical, detailed guide for how to implement this in unity URP shader graph". it would get you like 84% of the way there.

  • @alexleonardkrea
    @alexleonardkrea ปีที่แล้ว +2

    Great effect! Very interesting seeing how you applied the bullet displacement.

  • @fuseinabowl
    @fuseinabowl ปีที่แล้ว +1

    I'm loving your sense of humour, but I had to go and make some pasta after watching this 😜
    Have you tried using the custom nodes in shader graph? I use them to simplify the maths while keeping all the arty stuff visible in the graph.
    Great vid, I like that I'm not alone in my spaghetti shader graphs 😆

  • @rickyrigur
    @rickyrigur 9 หลายเดือนก่อน

    I couldn't make it work. I copied all subgraphs and played with the parameters and in Shader Graph looks normal but in the scene when I created a sphere and added the material with the shader it looks transparent as if there was nothing. I don't know what to do or how to proceed.

  • @oguzmuslu
    @oguzmuslu 11 หลายเดือนก่อน

    How can I add the Shieldcloud node as autocomplete at first? Since I'm new, I couldn't find shaders.

  • @K.Z007
    @K.Z007 11 หลายเดือนก่อน +1

    Amazing effect, so beautiful.

  • @RubenHenares-bk6rl
    @RubenHenares-bk6rl หลายเดือนก่อน

    Love it. Thank you so much for sharing!

  • @andresilvasophisma
    @andresilvasophisma ปีที่แล้ว +1

    Saw this on another video and it was the effect that caught my eye.

  • @ajaypassivlog5373
    @ajaypassivlog5373 ปีที่แล้ว

    It this possible in blender ?

  • @에드워드-g8k
    @에드워드-g8k 9 วันที่ผ่านมา

    awesome....!!!!!!

  • @morticias5043
    @morticias5043 ปีที่แล้ว

    Wow making speed modeling videos to game dev...

  • @LopinDev
    @LopinDev ปีที่แล้ว +1

    This actually looks really cool lol

  • @DJOrangeJoe
    @DJOrangeJoe ปีที่แล้ว +1

    Great job. It looks truely amazing.

  • @yourfriendlygamedev
    @yourfriendlygamedev ปีที่แล้ว +1

    This is so sick!⚡️🤝🏼

  • @TheBalooj
    @TheBalooj ปีที่แล้ว +1

    Great job. This shader could be a paid asset by itself.

    • @ryxrr7207
      @ryxrr7207 ปีที่แล้ว

      I was thinking exactly that.
      This is a GOOD asset pack quality shader. The looks and reactions are awesome.

  • @alec_almartson
    @alec_almartson ปีที่แล้ว +1

    Thank You for sharing your knowledge. 💯👍🏻
    The Shader Effect looks really nice, I think I will do something similar in the future too, for my Tactical Based Third Person Game (I'm following a CodeMonkey Course, which is very informative, and adding VFX like this, would complete the whole idea).

    • @Imphenzia
      @Imphenzia  ปีที่แล้ว +1

      Great! I hope to follow Code Monkey's good example and make a YT course too.

    • @alec_almartson
      @alec_almartson ปีที่แล้ว

      @@Imphenzia that would be Awesome 😄

  • @midniteoilsoftware
    @midniteoilsoftware ปีที่แล้ว

    I wonder if you could have used AI to generate your noise texture instead of struggling with GIMP?

  • @LucasAlfare
    @LucasAlfare ปีที่แล้ว

    That's truly awesome and advanced 😂

  • @TrentSterling
    @TrentSterling ปีที่แล้ว

    Hey I was worried that this wouldn't have enough depth, or that we wouldn't know how to support multiple impacts. Turns out you covered everything I wanted to know and then some! Great resource. 👍

  • @ninjacodertech
    @ninjacodertech ปีที่แล้ว +1

    wow thats really cool! how do you even know how to do this?

    • @Imphenzia
      @Imphenzia  ปีที่แล้ว +1

      I learned shader programming when I was making my planet asset, then I found that it was much easier doing it with nodes and I have tried to solve a lot of stuff through the years.

    • @ninjacodertech
      @ninjacodertech ปีที่แล้ว +2

      @@Imphenzia can you possibly do some tutorials on the shader graph?

  • @lewisjosephevans
    @lewisjosephevans ปีที่แล้ว

    This is awesome!

  • @coreysonofander
    @coreysonofander ปีที่แล้ว

    Super cool! This shader handles a toilet under heavy load quite well. 😀

  • @l201012
    @l201012 ปีที่แล้ว

    What explosion effect did u used?

  • @myk3l9675
    @myk3l9675 ปีที่แล้ว

    Aww, I missed the premiere but awesome work!

  • @ClockworkGearhead
    @ClockworkGearhead ปีที่แล้ว

    I mean, it could have been the spin attack instead.

  • @worldofchessandvariants
    @worldofchessandvariants ปีที่แล้ว

    I wish someone would create this cool effect in Godot 4. Great job!

    • @Imphenzia
      @Imphenzia  ปีที่แล้ว

      I don't even know how materials and shaders work in Godot actually, could be a fun exercise to try that because I don't know Godot, but it's an isolated enough thing that it could be a doable thing to test.

  • @AndersBergh
    @AndersBergh ปีที่แล้ว

    Super nice Stefan!. I love shader graph.. but I really miss a "untangle" / "Unspagetti"-"my nodes" function . Would be super if Unity added that. Härligt att du börjat lägga ut video igen. Vi har saknat dig.

    • @Imphenzia
      @Imphenzia  ปีที่แล้ว +1

      Thanks, glad you like it! I also feel Shader Graph nodes are too "big" somehow, even un an ultrawide, I have to pan around a lot and find it difficult to view it properly. I like Amplify Shader Editor more on that front but I have to learn the new norm. Oh, tack så mycket - värmande ord!! Glad att kunna börja lägga upp content igen :)

  • @Koog1e
    @Koog1e ปีที่แล้ว

    Very cool.. and thanks for sharing at the end... will have to try it out, and totally agree amplify shader editor is much better, I'm annoyed that Unity still haven't got a proper URP shadow transparency (ditehred blurred) like Built in has.

    • @Imphenzia
      @Imphenzia  ปีที่แล้ว

      Yeah, there are multipe features in Shader Graph that I am missing. You can't do UI shaders with Shader Graph either. It used to work, but apparently "not by design" so now if you try to do sprite shaders with Shader Graph, transparent areas just turn red instead with no fix. Maybe they'll get there in the end - there are many great things about the Shader Graph too.

  • @random_precision_software
    @random_precision_software ปีที่แล้ว

    Hi m8! It's been a while since TH-cam showed me notification for your channel,.. looks great, but what game or assets is that your using?

    • @Imphenzia
      @Imphenzia  ปีที่แล้ว

      Welcome back! I have moved across the world and not produced much content until now, trying to get back at it now :) i am working on a new solo game, so the assets is from that. I made them over the past few weeks.

    • @random_precision_software
      @random_precision_software ปีที่แล้ว

      @@Imphenzia Yea I know, you moved to australia !! too hot me over there lol

  • @MrTomateSalat
    @MrTomateSalat ปีที่แล้ว

    Aaaaaaaaaaaaand again: thanks for sharing! May it isn't meant to be a tutorial - but it is at least a nice documentation. I think if someone wants to create similiar things this video is a great way to start! Because there are a ton of information about that shader and tbh: it is more of a tutorial than other videos I've seen which were meant to be a tutorial. So good job on that. Because shaders are really an abstract and complex thing.

    • @Imphenzia
      @Imphenzia  ปีที่แล้ว

      Thanks, you're welcome! Glad to hear this because as I was making the video I nearly stopped half way through thinking, I will confuse everyone with this :D

  • @forbiddenbox
    @forbiddenbox ปีที่แล้ว

    Bro I really thought you wouldn't make a tutorial on this

    • @Imphenzia
      @Imphenzia  ปีที่แล้ว +1

      Well this is not a tutorial I suppose, just an overview :) but I will make some Shader Graph tutorials as well.

  • @alexgram4345
    @alexgram4345 ปีที่แล้ว

    New to Unity - nice effect and platformer. Question: you make it a 3D game and lock the movements on player and drones to y, x or theres is just no control for the z axis?

    • @Imphenzia
      @Imphenzia  ปีที่แล้ว +1

      Hi, I do it in 3D and I force the position of Z to 0 every frame or physics frame if it is a rigidbody like the drones. For a normal Unity game object it would be:
      transform.position = new Vector3(transform.position.x, transform.position.y,0);
      If you do it for a rigidbody it would be:
      var rb = gameObject.GetComponent();
      rb.MovePosition(rb.position.x, rb.position.y, 0);
      You can also do freezeposition on Z axis for rigidbody but collisions don't seem to respect that and it'll get pushed off.

    • @alexgram4345
      @alexgram4345 ปีที่แล้ว

      @@Imphenzia thanks! I will look into it ;)

  • @salacryl
    @salacryl ปีที่แล้ว

    Good tutorial. Love it!

    • @Imphenzia
      @Imphenzia  ปีที่แล้ว

      You're welcome!! =) Thanks

    • @salacryl
      @salacryl ปีที่แล้ว

      @@Imphenzia actually because of you I got into shader and game development. The only difference though, I ended up in UE instead of Unity.

  • @nexuzinnovation-com
    @nexuzinnovation-com ปีที่แล้ว

    hi Stefan, I wondered is there any new course from you with game development t v ? it is happening or ? Unlike previous days of tutorial videos, recently your videos, understood is part of commercial game Ultra nova, contents extracted from a commercial product which is mostly for demonstration and I cannot learn anything but merely picking up ideas, this may overwhelm instead of educating. I am looking forward for your online beginner courses of Unity and Music composing, it will be better if co-operate with game development t v as its forum editing and support features are easy and handy. Thank you.

    • @Imphenzia
      @Imphenzia  ปีที่แล้ว +1

      Hi Ricky, yes - I am planning to do a big update of my previous Unity video and I am considering making a big follow along course involving mainly Unity and Blender, but it will also address game design, and audio. It will take me some time to produce that one, but I think it should turn out nice :)

  • @HieromonkRazov
    @HieromonkRazov ปีที่แล้ว

    There is only-just-big-DIZZZ for fucking UNITY20+ )
    I love your lowpoly style & anim)
    Good luck)

    • @Imphenzia
      @Imphenzia  ปีที่แล้ว

      Thank you so much!