Unity Shader Graph - Retro Effect Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 พ.ย. 2024

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

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

    you reminded me of brackeys when I started the video xD

  • @-nickdev
    @-nickdev 2 ปีที่แล้ว +9

    I would love more post processing effects! This is awesome.

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

    I love retro effects when they’re used right! :)

  • @HansPeter-gx9ew
    @HansPeter-gx9ew ปีที่แล้ว

    well made video, thanks!! I like how ou showed EVERY small step that usually makes problems

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

    I allready knew the voice, now we get to see the face of the awesome teacher, ha ha, great. Tx for the awesome tutorials!

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

    THANK YOU SO MUCH!!!!!!! Another VERY AMAZING Tutorial i am so glad i found this as well. YOU ARE A ONE OF A KIND PERSON you saved my sanity from all that research and things not working properly and i THANK YOU 🙏.

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

    This video was perfectly timed. I am working on a game that requires some old school crt monitors in the game world and I've been wondering about the best way to get that look. Thank you!

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

    thanks so much for the tutorials homie

  • @NameUnknown-
    @NameUnknown- 2 ปีที่แล้ว +1

    As usual, looks pretty awesome

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

    I am applying on Renderer2D and the scanning lines are showing up but nothing else is visible and I have also added the lerp node with the scene color and scanninglinesamount but still not getting the result. Can you help?

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

    I have been subsribed to this channel for a long time but I stopped watching your videos as I was no longer programming unity. The videos quality have realy step up

  • @cgimadesimple
    @cgimadesimple 9 หลายเดือนก่อน +1

    really useful :)

  • @nime.motion
    @nime.motion ปีที่แล้ว

    i love you, thanks for this video!!!!!!

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

    nice tutorial Gabriel! thanks for sharing!
    however if I may I'd like to propose a follow up tutorial: what if you want to interact with what you see? i mean if you click on a rendered image you are clicking on an image, not on the object. would it be possible to "add a shader to the camera" without using the render image technique? if so, could you make a tutorial about that?

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

    Fantastic tutorial! Only issue I have is for some reason motion blur no longer seems to work with this blit render feature. Haven’t been able to get past that but I can live with the trade off for now

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

    oh wow, a full screen effect! I wonder if you can also use this for a 3d pixel art game

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

    This is a super cool video. However I have an issue, the shader displays however I cant see any colors of my scene. I can only see the shaders grey colours. How can I fix this?

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

      Hey i had the same issue and found a solution here: answers.unity.com/questions/1692270/scene-color-node-not-working-in-shader-graph.html
      Essentially you have two options. You can either set the Opaque Texture setting on your camera to On under the Rendering section, or for a more universal fix without touching your Camera's render settings, you can find your Render Pipeline asset(s) which, by default in URP would be in the Settings folder of your project named "UniversalRP-High/Medium/LowQuality" respectively. In those render pipeline assets you can enable the Opaque Texture check box and that should fix it.

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

      @@bmxchamp4 It's still not working for me

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

      @@bmxchamp4 not working for me. any advice?

  • @GonzaloDev-ww9un
    @GonzaloDev-ww9un 8 หลายเดือนก่อน +1

    Thanks!!!!

  • @ZayJayPlays
    @ZayJayPlays ปีที่แล้ว +3

    I'm having a problem where most of my screen is just grey. I can see the scan lines against a grey background. But I can't see anything in my scene.

    • @teo-chan
      @teo-chan ปีที่แล้ว +1

      me too!don't know how to solve it,did u found anything?

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

      @@teo-chan Not sure if this is a professional solution, but here's a temporary fix.
      Set the opaque textures in your camera to on. This will let you see things, but your editor will be stuck seeing whatever your camera sees, so I'd set your Blit material to none until you're ready to build your game.

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

      @@ZayJayPlays Had the exact same issue + the fact that you can't see anything on your Canvas.

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

      @@ZayJayPlays did the same steps, to fix the issue after i went where the renderer list is and ticked "Opaque Texture"

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

      You're a genius@@LoereDami

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

    How do you make this work with Canvas elements? As is they aren't visible

  • @МішаА-т6к
    @МішаА-т6к 2 ปีที่แล้ว +1

    you make very cool shaders, you don't mind if I take some of them for my not big game which I can release?

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

      Sure, go ahead, as long as you give some sort of credit, that would be awesome. Something like 'VFX Artist - Gabriel Aguiar' would be appreciated for example.

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

    Você ajudou um brasileiro cara, muito obrigado !! (You helped a Brazilian guy, thank you very much!!)

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

    I would use this but it causes my Scene view to completely bug out so its basically unusable

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

    How can I fix this on a CameraMonitor? I tried to follow but without doing the part with Blit and the URP thing, but it doesn't work. At best, I have the material that applies to the screen of the CameraMonitor prefab but it remains opaque, we can't see the camera

  • @os.gamess
    @os.gamess ปีที่แล้ว

    love the tutorial, just have one problem. i cant see my ui. how can i fix that?

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

    HOW DO I MAKE THE SCAN LINES TRANSPARENT? This seems to be a 2D project issue btw, but do u have any idea how to fix it??

    • @enaikei
      @enaikei 9 หลายเดือนก่อน +1

      same issue. have you found any fixes?

    • @base13music
      @base13music 9 หลายเดือนก่อน +1

      @@enaikei i messed around with the strength of one the effects but i can't remember which, i still don't think i fully got it working tho

    • @enaikei
      @enaikei 9 หลายเดือนก่อน +1

      @@base13music oh ok ill try that, thank you

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

    I'm having an issue with the shader. After adding the Step, Scene Color and Scanline Amount Float to the Lerp, All i get is a gray scene where I can only see the scan lines? What did I do wrong? Is it the hardware of my LapTop not liking URP?

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

      I'm having the same issue :( Anyone know what's going on?
      Edit: Found solution down below! Thank you @bmxchamp4 !

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

      @@MaxMitchellafewcharacters I can't find his comment. Mind sharing?

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

    I'm confused, do you just create a blank render texture with nothing in it? Also for some reason I can't drag the texture onto my camera. I'm working in a 2D project btw.

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

    can i ask, how come my camera's screen blinks to black and only does the retro effect whenever i move my mouse/camera or in certain position?

  • @Neekobh
    @Neekobh 2 ปีที่แล้ว

    Anyone can help me? I follow the pixelated camera part and now my lights are not working when click to play, they only work on the scene view and on the preview game view. Anyone has any ideas of what to do?

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

    for some reason the blits script doest aprear when i create it and go to add rendered feature
    someone can help me?

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

    there appears only gray screen when I enable blip with scanlines set on, what do i need to do?

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

      Hey, if you are still struggling with this issue you need to turn on opaque textures in your camera. The setting is in the rendering section. It probably selected "Use Render Pipeline Settings" you need to change it to the on or you can enable it from render pipeline settings.

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

      @@Calquter Thank you so much!

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

    Is it necessary to have forward renderer to do this?

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

    Is this at all usable in a 2D project? I ask because a 2D Project doesn't have a "Forward Renderer" - only a "Renderer 2D" which looks entirely different than the FWD Renderer.

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

      Honestly, no idea, didn't try it. Probably the idea is very similar in theory, but in practice something must be different. Hope you find a way, btw.

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

      @@GabrielAguiarProd thanks for the response! I tried a bunch of ways but didn't come right. I'll update if I ever do solve it!

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

      @@WhitefoxSpace i know im late but umm...any fixes?

    • @WhitefoxSpace
      @WhitefoxSpace 9 หลายเดือนก่อน +1

      @@enaikei I'm afraid not.

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

      @@WhitefoxSpace oh ok, too bad

  • @jontiways
    @jontiways 2 ปีที่แล้ว

    So I just followed the pixellated part, but it changes the co ordinates of how my mouse reacts with the scene for aiming. How do i deal with this?

    • @GabrielAguiarProd
      @GabrielAguiarProd  2 ปีที่แล้ว

      I'm curious to how/why this happens. Didn't happen to me when testing. Hmm

  • @Abstract_Code
    @Abstract_Code 2 ปีที่แล้ว

    Does it improve the performance?

  • @LukePNG.
    @LukePNG. 2 ปีที่แล้ว

    How do i create a render pipeline asset? it says i have none in the Graphics section of the project manager.

    • @GabrielAguiarProd
      @GabrielAguiarProd  2 ปีที่แล้ว

      It will be easier if you create a new project with Unity Hub and select URP as the template. This way Unity will set up everything nicely for you and you can follow this tutorial comfortably.

  • @itsus7449
    @itsus7449 2 ปีที่แล้ว

    Hi I have a problem my material of the shader isnt transparent I cant see the background, someone can help me?

    • @GabrielAguiarProd
      @GabrielAguiarProd  2 ปีที่แล้ว

      Did you make sure it's transparent?

    • @itsus7449
      @itsus7449 2 ปีที่แล้ว

      @@GabrielAguiarProd you mean the color?

    • @itsus7449
      @itsus7449 2 ปีที่แล้ว

      @@GabrielAguiarProd I think it is something with the scene color because when I just drag te scene color into the fragment my scene is just grey

    • @theoliemnorell6858
      @theoliemnorell6858 2 ปีที่แล้ว

      @@itsus7449 I have the same problem

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

      I had the same problem. Fixed by checking Opaque Texture (in video at 3:21, right side). Hope it helps.

  • @QuietStudiosOfficial
    @QuietStudiosOfficial 2 ปีที่แล้ว

    hdrp?

  • @fox.9879
    @fox.9879 2 ปีที่แล้ว

    when ever i tun my shader into a material it turns purple can anyone help

    • @fox.9879
      @fox.9879 2 ปีที่แล้ว +1

      i fixed the issue i just forgot to press save asset

  • @emptybruh
    @emptybruh 2 ปีที่แล้ว

    Im on HDRP
    Does that conflict with the Blit part of tutorial?

    • @GabrielAguiarProd
      @GabrielAguiarProd  2 ปีที่แล้ว

      Hmmm if I remember correctly I think it does. The blit script is targeted to work on URP only.

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

      @@GabrielAguiarProd Can you explain how we can do it in Hdrp ?

  • @TheGothGaming
    @TheGothGaming 2 ปีที่แล้ว

    how could you turn the effect on/off on demand via code? awesome tutorial btw

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

    Hey Gabriel, damn awesome tutorials!
    Sorry if it's too much for me asking you this, but do you want to create a tutorial for vfx with "eastern game style"?
    Here's the reference:
    th-cam.com/video/qMVr14g5kG0/w-d-xo.html
    I believe anyone would love this too because there are not many English speaker that cover this topic.
    Again thank you for everything you've done until now! Thank you!!

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

      Each one of does effects is almost worthy of a course, since it would take some time to explain it (hours). BUT, yeah maybe there's one or two that can be done here on the channel. Thanks for the tip!

  • @jacobdecker7301
    @jacobdecker7301 2 ปีที่แล้ว

    First

  • @ShadabKhan-hz8cx
    @ShadabKhan-hz8cx 2 ปีที่แล้ว

    this channel all shader is superb but pixel art and retro effect is not good idea for game development vfx

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

      I can think of a few situations where this could be useful. Game jams, mini-games, storytelling, cutscenes, old tvs, crts, etc. But yes I understand you :)

    • @collin4555
      @collin4555 2 ปีที่แล้ว

      You really ought to come at it more from the perspective of learning techniques you can use for developing effects you do like. Notably in this video, writing a shader that operates on the screen image rather than on individual objects.