Tutorial UE4 | Distance Field Dissolve Effect

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

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

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

    I upload the assets to Gumroad. check it out. gum.co/jsqeh.

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

      Hey, Zhang! I tried to use it in UE5, but it didn't work. Do you have the same problem?

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

      @@A1exHuang At one point he tells you to set Position A to Mesh Position, This doesn't show up because that is now being fed into the Position variable which is already set on it. That is what Chat-GPT said but who knows...I got this working in the editor but it doesn't work during Run-Time and I'm not sure why.

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

      Hi@@unrealdevopI'm also having issues getting it to work during game mode, or simulation mode... did you ever get it to work?

  • @tehf00n
    @tehf00n 2 года назад +17

    At 4:06 when adding "Solve Forces And Velocity : Position", it will not show up in the list. The reason for this is in newer versions of NIagara all positions are their own type. You need to convert Position B to Vector to get this option.

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

      Thank you so much. I was stuck on that part.

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

      @@MGrufTiger You can convert the Position type to a vector. This is done by using the drop-down arrow next to the Position variable and switching it to vector.

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

      @@tehf00n Hello, I could only find Convert Vector to Position under "Solve Forces And Velocity : Position". Is that the switching way you mentioned?

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

      @@shuyusung5481 No its from Position To Vector. You will notice its a Position type. Next to it will be a little arrow you can click and it will drop down a menu where you can convert it to vector.

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

      @@tehf00n I converted the position to vector but now there isnt my mesh. There is just showing an light and its just blinking. Can you help me with that?

  • @shimlaDnB
    @shimlaDnB 3 года назад +11

    *gasp there is a set parameters module ?! that's so handy

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

      yep, it can set multiple parameters in one module!
      I love your videos especially the niagara particle monster ; )

  • @neosteinhoff.personal
    @neosteinhoff.personal 3 года назад +5

    Its amazing i hope you do more wonderful tutorials like this becuase this effect is amzing i literally dream about this

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

    When creating the Scratch Pad, if you don't see your DissolveAmount parameter listed in the Lerp Particle Attributes module, you need to Apply Scratch Pad in the menu at the top near compile. This stumped me for a few minutes.

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

    underrated video. needs more views.

  • @AI-Music481
    @AI-Music481 Месяц назад

    I can't find the Dissolve Amount when editing the "Lerp Alpha" at 3:56. Can someone help me?

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

    don't forget to enable "generate mesh distance field" in the project settings

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

      i check this but i continue receive
      System failed to compile with 9 errors.
      The mesh distance field generation is currently not enabled, please check the project settings.
      Niagara cannot query the distance field otherwise. - Node: Query Mesh Distance Field GPU - Empty, Particle Spawn Script Interpolated, ScratchModule
      Incorrect number of outputs. Can possibly be fixed with a graph refresh. - Node: Query Mesh Distance Field GPU - Empty, Particle Spawn Script Interpolated, ScratchModule
      Error compiling input on Subtract node. - Node: Subtract Pin: A - Empty, Particle Spawn Script Interpolated, ScratchModule
      The mesh distance field generation is currently not enabled, please check the project settings.
      Niagara cannot query the distance field otherwise. - Node: Query Mesh Distance Field GPU - Empty, Particle Update Script, ScratchModule
      Incorrect number of outputs. Can possibly be fixed with a graph refresh. - Node: Query Mesh Distance Field GPU - Empty, Particle Update Script, ScratchModule
      Error compiling input on Subtract node. - Node: Subtract Pin: A - Empty, Particle Update Script, ScratchModule
      The mesh distance field generation is currently not enabled, please check the project settings.
      Niagara cannot query the distance field otherwise. - Node: Query Mesh Distance Field GPU - Empty, Particle GPU Compute Script, ScratchModule
      Incorrect number of outputs. Can possibly be fixed with a graph refresh. - Node: Query Mesh Distance Field GPU - Empty, Particle GPU Compute Script, ScratchModule
      Error compiling input on Subtract node. - Node: Subtract Pin: A - Empty, Particle GPU Compute Script, ScratchModule

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

    How would you replicate this effect with things that aren't skeleton meshes? Like static mesh and parts of the environment?

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

    More tutorials from you!!!! cant wait

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

    Did this work for unreal 5 for anybody? I cant seem to make it work.

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

    А подскажи пожалуйста, как ты сферы невидимыми сделал и при этом они взаимодействуют с частицами?

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

    Best interesting tutorial/ feature I've seen!
    Two questions: can this be done in cascade?
    And what is the name of that song?

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

      1, Don't know. I am not familiar with Cascade. I think sampling data from skeleton mesh is a new feture in Niagara but no cascade.
      2, The sony is Symphony No. 5 in C Minor, Op. 67: IV. Allegro

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

    Hello, is there any way to adjust the particle scale? It doesn't work with Uniform Size. Thank you!

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

    why i dont have solve forces and velocitiy : position?

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

    What if I want to do it with static mesh?

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

    Just curious would I be able to use this effect on a point cloud, instead of a mesh

  • @johnwildauer
    @johnwildauer 9 месяцев назад

    if anyone wants the actual tutorial this is just ripped from the official unreal engine content on the unreal engine youtube, original tutorial is provided by chris murphy and goes much more in depth

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

    instead of skeletal mesh how to use static mesh?

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

    This is so awesome! Love this tutorial. Although I'm having an issue that when I do a windows package. On collision the particles don't move/dissolve out (They only stay in the mesh bounds). Weird because it works in the editor. Have you or anyone ran into this issue before?

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

    I'm using 4.25 Niagara particle system, I think there is an issue when I reach "Scratch Module" part at the end, somehow it doesn't make any difference from the previous step? and the last adjustment that was done on the mannequin material makes him disappear completely, any suggestions ?

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

      Check the "generate distance field" in project settings

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

    2:55 I laughed as you gave up on the FadeDistance

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

    It's too bad that the asset files don't seem to be compatible with UE5 :/

  • @davej.3878
    @davej.3878 3 года назад

    Hello Mr. Zhang :D Is it possible to do it on s static mesh which was imported over Datasmith?

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

    Is there a way to have the particles cast shadows ? That has been my biggest struggle with dissolves effect. Most of the mesh I want it to happen are pretty closed up, it's kinda weird not having it have any shadows. Maybe a way to fake them ? Your dissolve looks the best though

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

      I tried it by myself. The particles can cast shadows. Check the "cast shadow" in the niagara component in world outliner. it's false in default.

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

    What if our character have 5 different materials?

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

      Are these 5 materials share one parent material? Or make the SetMaterialAttributes part as a material function to reuse it.

  • @33PLJ
    @33PLJ 3 года назад

    Hi Even! I am recreating this effect in UE5 and it seems that putting the spheres' shader as translucent stops them from interaction with the distance field. Do you know if it is something that also happens on UE4 or if you have any idea what my be the cause?

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

      you can use masked material with DitherTemporalAA. It looks similar with translucent.

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

      I know it's late here but you can also use the M_DebugSphereBounds_01_Inst material, then in rendering simply uncheck the Render In Main Pass switch on the mesh. This will let you see it in the editor with the usual debug outline, but won't render it when you play.

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

    This is super cool

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

    Does the gumroad file contain all the project files? With something like a demo?

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

      It contains all the assets made in this video includes the particle system and the materials.

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

    for me it always has teh dissolve fx no matter what, that the mesh disappears works, any idea why this is?
    Also how do i make this so its only at a certain object

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

      forget to tuning the inputs of the Scratch Module, jsut like the video at 7:40 ?
      distance field is a global field for all static meshes. I think you can disable the "generate distance field" in static mesh editor panel for every mesh except a certain object.

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

    u are a hero!! thanks you!!

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

    fantastic.

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

    damn subscribed looking for more videos

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

    At some point, it doesn't work with scalability set on low

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

    dope! thanks

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

    This is fantastic, but in the future could you slow the video down a bit? Even at .25 it's difficult keeping up.

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

      Tips: Pause the video, use ", " key to back or forward frame by frame.

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

    Does this work for animations too?

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

    Thanks !

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

    Can this be added and used in the level sequencer for video purposes?

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

      yes you can I already did you basically need to do this ruclips.net/video/rIkpu358Hak/видео.html

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

      Yes, of cause you can. The first clip in this video is rendered in level sequencer.

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

    Can I do this with different meshes, or character?

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

      Yes, but the textures in the material of the particle need to match the character's

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

      @@evenzhang389 thanks 😊

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

    I try to make this incredible art but...
    System failed to compile with 9 errors.
    The mesh distance field generation is currently not enabled, please check the project settings.
    Niagara cannot query the distance field otherwise. - Node: Query Mesh Distance Field GPU - Empty, Particle Spawn Script Interpolated, ScratchModule
    Incorrect number of outputs. Can possibly be fixed with a graph refresh. - Node: Query Mesh Distance Field GPU - Empty, Particle Spawn Script Interpolated, ScratchModule
    Error compiling input on Subtract node. - Node: Subtract Pin: A - Empty, Particle Spawn Script Interpolated, ScratchModule
    The mesh distance field generation is currently not enabled, please check the project settings.
    Niagara cannot query the distance field otherwise. - Node: Query Mesh Distance Field GPU - Empty, Particle Update Script, ScratchModule
    Incorrect number of outputs. Can possibly be fixed with a graph refresh. - Node: Query Mesh Distance Field GPU - Empty, Particle Update Script, ScratchModule
    Error compiling input on Subtract node. - Node: Subtract Pin: A - Empty, Particle Update Script, ScratchModule
    The mesh distance field generation is currently not enabled, please check the project settings.
    Niagara cannot query the distance field otherwise. - Node: Query Mesh Distance Field GPU - Empty, Particle GPU Compute Script, ScratchModule
    Incorrect number of outputs. Can possibly be fixed with a graph refresh. - Node: Query Mesh Distance Field GPU - Empty, Particle GPU Compute Script, ScratchModule
    Error compiling input on Subtract node. - Node: Subtract Pin: A - Empty, Particle GPU Compute Script, ScratchModule

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

      Hey, I'm very late to the party but to fix this error you have to enable "Generate Mesh Distance Fields" in the Project Settings

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

    If you can, share this project in google disk?

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

      Sorry i won't. It's inconvenient to separate the files since it's a lot of unrelated staff in this playground project.

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

    Mr.Zhang...I don't feel so good

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

    Hey, are those plugins free to use ?

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

      Yes. Niagara particle system is a UE4 self-contained plugin.

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

      @@evenzhang389 Awsome !

  • @HalanHeart
    @HalanHeart 7 месяцев назад

    Thanos like this

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

    Nice

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

    Thank you for the tutorial but it's veryy fast ^^.
    I got an error one i added the Scratch module..

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

      You fix that? I have same problem

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

      @@TheMycoma No i didn't, will try another tutorial

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

      @@sebeasygame5202 which one?

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

      what's the detail about the error?
      I'm making this in UE4.26.2.
      r u using the same version?

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

      @@TheMycoma A similar tutorial from unreal may help. the link is in description.

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

    NIIIICE

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

    Is there a way to do this with a static mesh?

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

      i think so

    • @davej.3878
      @davej.3878 3 года назад

      @@evenzhang389 Would be interesting howto :D

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

    Very Speed :( tutorial

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

    If I am using a Static Mesh instead of a Skeletal Mesh and attach it to a static mesh, the Particles spawn everywhere and not just where something else collides with it.
    Any helpers ?

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

    What should I do to create the inverse of this exact effect, I want the mesh to be invisible and then it generates itself?