Linear Interpolate | 5-Minute Materials [UE4]

Поделиться
HTML-код
  • Опубликовано: 29 дек 2024

Комментарии • 55

  • @steliosstavropoulos499
    @steliosstavropoulos499 3 года назад +9

    Please tell me why this video has 2 dislikes!! Who did that? Those are the best tutorials on the internet!!!!

  • @Baleur
    @Baleur 2 года назад +2

    Lerps are life, lerps are love.
    My kingdom for a lerp.

  • @hbonin
    @hbonin 3 года назад +2

    5-Minute Materials. What a nice idea. Thanx again, Charlie!

  • @Xaeveax
    @Xaeveax 3 года назад +2

    I've found the lerp node is one of most useful and versatile nodes. It's got so many applications that people tend to overlook.

    • @PrismaticaDev
      @PrismaticaDev  3 года назад +4

      Absolutely - it's one of the most simple AND most complicated nodes on the block!

  • @CosmicComputer
    @CosmicComputer 3 года назад +4

    Excellent as always! Thanks! Would you ever consider “5-minute” blueprint nodes/behavior tree tasks etc reviews? I really enjoy your content and this format. Either way, love your channel man!

    • @PrismaticaDev
      @PrismaticaDev  3 года назад +3

      Heya Logan! If you're looking short Blueprint videos I HIGHLY recommend Mathew Wadstein's channel. He's already covered every single BP node in short videos and that's what inspired me to create this series :) I think he also covers Behaviour tree things

    • @CosmicComputer
      @CosmicComputer 3 года назад

      @@PrismaticaDev will do, thanks!

  • @StevenDiLeo
    @StevenDiLeo 2 года назад

    I'm always sure to like your videos before I even watch them, cause I know it's gonna be good. Keep it up dude, I love your teachings :)

  • @RomarioDev
    @RomarioDev 3 года назад +1

    Awesome work my dude

  • @Fokkusu
    @Fokkusu 3 года назад +1

    Amazing, my materials already use lerps but now I can level up the game with the lerps :D, thanks ^^

    • @PrismaticaDev
      @PrismaticaDev  3 года назад

      Thank you! Now you can lerp your lerps!

    • @Fokkusu
      @Fokkusu 3 года назад

      @@PrismaticaDev I can lerp each option and the alpha for _extra fun_

  • @the_real_shoes
    @the_real_shoes 3 года назад +1

    I love these vids so much. They're so useful! Would you consider making a video explaining the shortcuts in the material graph?

    • @PrismaticaDev
      @PrismaticaDev  3 года назад +2

      That's an amazing idea! I'll have to brush up on all of them haha especially since when I go to type something in, they're all out of order with the latest patch haha

  • @3DWithLairdWT
    @3DWithLairdWT 3 года назад +1

    Yet again, awesome content!

    • @PrismaticaDev
      @PrismaticaDev  3 года назад +2

      Thanks legend :) Glad you're finding it useful!

  • @3dstuff677
    @3dstuff677 2 года назад +1

    Great tuto !! Thanks Bro !!

  • @alperenerol2299
    @alperenerol2299 2 года назад

    I've started to like before even i watch.

  • @wasimsaifi7684
    @wasimsaifi7684 2 года назад +1

    lerp node available in material function?

  • @xabunoxx2850
    @xabunoxx2850 3 года назад +5

    Today I learned to Clamp ya damn Alphas

  • @PhantomZtryker
    @PhantomZtryker 3 года назад +2

    What's the difference between saturate and clamp?

    • @PrismaticaDev
      @PrismaticaDev  3 года назад +6

      A clamp allows you to choose what values you want the clamp to be (presumably by using Min and Max functions) so you'd be able to clamp negative 1 to positive 2, for example. Saturate, on the other hand, always clamps 0 to 1 but it completely free on most GPUs according to the tooltip :)

    • @PhantomZtryker
      @PhantomZtryker 3 года назад +1

      @@PrismaticaDev Good to know, thank you.

    • @vincenzoarnone7406
      @vincenzoarnone7406 3 года назад +3

      The "saturate node" tip to clamp a value it's really cool, but accordng to the 'Performance Guidelines for Artists and Designers' the Clamp node has a different performance cost when using 0 and 1 values, so I think it is using a similar (if not the same) algorithm in the background with those values.
      docs.unrealengine.com/en-US/TestingAndOptimization/PerformanceAndProfiling/Guidelines/index.html

    • @PrismaticaDev
      @PrismaticaDev  3 года назад +1

      @@vincenzoarnone7406 Good pickup! I imagined Clamp 0-1 would get optimized to do that. The saturate node is nice and small though :P

  • @Jake-co7rt
    @Jake-co7rt 3 года назад +1

    My Materials Lerps don't seem to work... AT ALL.
    Always looks like the alpha is at 0, no matter what I use for input,
    or even if I just change the number without plugging anything in.
    Might there be a setting I'm overlooking?

    • @PrismaticaDev
      @PrismaticaDev  3 года назад +1

      Hey Jake! Sounds very odd indeed... You might be using a Material Instance of the material which has its alpha setting at 0? And the Master materials changes might not propagate. That would only be the case if you were using parameters though... Would you mind sending me a screenshot on Discord?

    • @Jake-co7rt
      @Jake-co7rt 3 года назад

      ​@@PrismaticaDev, Thanks Very Much.
      For anyone who might have a similar issue:
      Make sure your color parameters have DIFFERENT names, or Lerp treats them as just ONE parameter even though they appear to be different.
      Charlie spotted it immediately, and it fixed the problem completely.
      Bravo, Dude. (c:

  • @Hudson1615
    @Hudson1615 5 месяцев назад +1

    Note: Saturate > Clamp 100% of the time unless you're gonna go out on 0 - 1 range. Saturate is free to and doesn't add toll on graphics computation.

    • @PrismaticaDev
      @PrismaticaDev  5 месяцев назад +1

      @@Hudson1615 yep - although I’m pretty sure the compiler will convert a 0-1 static clamp to a Saturate under the hood

  • @HarshilMungalpara
    @HarshilMungalpara 10 месяцев назад

    does it work for interpolating texture in three.js?

    • @PrismaticaDev
      @PrismaticaDev  10 месяцев назад

      Hey hey - not sure what you mean. What is three.js?

  • @sylvainhuard2133
    @sylvainhuard2133 Год назад

    men your are the best

  • @JieDu-yj2vd
    @JieDu-yj2vd Год назад +1

    Who is cheaper between lerp and BlendMaterialAttribute?

    • @PrismaticaDev
      @PrismaticaDev  Год назад +1

      BlendMaterialAttribute is like a Lerp but for every single material attribute at once. So it "might" be cheaper to use it if you're blending entire materials together (if they do some funky stuff under the hood) but otherwise a Lerp will be cheaper.

  • @wortnes
    @wortnes 3 года назад +1

    Epic! S2

  • @wasimsaifi7684
    @wasimsaifi7684 2 года назад

    This node is also not available in material editor.

  • @TomartStudios
    @TomartStudios 3 года назад +1

    Can i have that texture file

    • @PrismaticaDev
      @PrismaticaDev  3 года назад +2

      Here you go :) www.dropbox.com/s/7equ32073rkox54/PackedClouds.png?dl=0

  • @christuusgnosis
    @christuusgnosis 2 года назад

    I wish I had found this a year ago
    its one of the strangest things in unreal to figure out because its everywhere and there is no real instruction from unreal about how it works
    good tut

  • @TerraTFT
    @TerraTFT Год назад

    Beware the mighty thumbs-up Charlie, come to destroy this side of the universe.

  • @navi2710
    @navi2710 3 месяца назад

    Nuuu. The tutorials here and here didn't appear.

  • @Nightwolfj2
    @Nightwolfj2 3 года назад +3

    I always herp, when I lerp.

  • @wasimsaifi7684
    @wasimsaifi7684 2 года назад

    I am using UE5.

  • @felixmikolai7375
    @felixmikolai7375 3 года назад +1

    You need to add the links for other tutorials otherwise u just point the corner ;)

    • @PrismaticaDev
      @PrismaticaDev  3 года назад +2

      Haha I add little annotations via RUclips but they mustn't show up on Mobile possibly?? I will add the links now that you mention it though, thanks! :)

    • @felixmikolai7375
      @felixmikolai7375 3 года назад

      @@PrismaticaDev possible my phone then yeah but thanks :)