UE4 Object Mask l Unreal Engine 4.26 (Tutorial)

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

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

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

    Nice tutorial! In order to make it work on runtime, the location and scale must be assigned to an event tick. Construction script updates only in vieport.

    • @CorebGames
      @CorebGames  3 ปีที่แล้ว

      Thanks~!

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

      Construction script graph-> Static mesh component -> Details -> Evaluate World Position Offset checkbox on

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

      @@caxafe Dont work for me

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

      @@xenonguillou7105 Yes, thats not enough :( Sorry. Try to copy all nodes except "Construction Script" to Event Graph and connect output EventTick to "Set Vector Parameter Value". It works in my sequencer.

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

      I was just about to say this... lol

  • @icarobezerrasoares5055
    @icarobezerrasoares5055 3 หลายเดือนก่อน +2

    For those who can't see it working when pressing play, just put the event in the Event Tick of the blueprint instead of the Event Construct

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

    A+ good sir. You explained things even if you did not have to. Very helpfull in giving the viewer a deeper understanding.

  • @marcelomoraes544
    @marcelomoraes544 ปีที่แล้ว +7

    Hi There! I have a question. I try to make animation on "Sequencer" with the example you bring us from this vídeo. The box is ok for animation, but, the cut section don´t showing in real time. Any idea to fix this, for the cut section is running in realtime on the Sequencer? On this case, i´m use the Unreal engine 5. Thanx a lot.

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

      Hi there! I don't know, if you have found the solution. Had the same problem at first, but figured it out: you have to copy all the nodes from the construction script to the event graph, create a custom event (name it somewhat recognisable) and bind the nodes to it. Then you add the blueprint actor to the sequencer and create there a trigger event (you need to first create a trigger track, then a key, then bind the event to the key - after rendering the frame with the key, the script will start to work).
      It is mentioned below that you can bind nodes to event tick, but I didn't try that - it will definitely work in runtime, but I'm not sure, if it will work in the sequencer without a trigger

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

    Perfect! This is just what I was looking for.

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

    WOw, this is so awesome! Thank you so much!

  • @JakobESG
    @JakobESG 5 หลายเดือนก่อน +2

    Is it possible to create this or similar without working it in into every Material that shall interact with that mask, for example to make it possible to just set a tag "dissolves" and then it can dissolve with the Object. I know thats probably difficult, but i cant think of this beeing practical if I need to work it into every Material.
    Not that I could have done any of this better.

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

    Thanks a lot! Just what i needed 🥰

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

    Great video. But I have a question, why it didn't work when I start simulating it?

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

    Perfect! You're saved my life. Thank you!

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

    Excellent tutorial. Helped me a lot! Thank you!

  • @王者-u8n
    @王者-u8n 3 ปีที่แล้ว

    Every tutorial is excellent, thank you

  • @Will-sc8nw
    @Will-sc8nw ปีที่แล้ว

    Perfect! You saved my life too.

  • @DarkSaian
    @DarkSaian 10 หลายเดือนก่อน +2

    This works only at one cube for me. When i add another cube as a mask, previous disappear?

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

    hello thanks for the tuto its work perfectly in editor but not in game when i try in game he didnt work you no how to fix that ?

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

      did you fixed that?? have the same problem

    • @李春-e7y
      @李春-e7y 2 ปีที่แล้ว +1

      me too

    • @李春-e7y
      @李春-e7y 2 ปีที่แล้ว +1

      oh,you can tick

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

    Does not seem to work on UE5

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

    It would be great a tutorial from you teaching us how to crave/mask (like this method) blueprint texts into any mesh inside own blueprint. Thats a great feature to make custom parametric plaques 👍👍

  • @陈家辉-r7d
    @陈家辉-r7d 2 ปีที่แล้ว +1

    Nice video! solved my problem,and another question is how to rotation it,thanks a lot

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

    Great video. Is it possible to use 2 of this cubes to dissolve a mesh in two different points?

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

      I approximated this by removing the 1-x node and thus inverting the mask. Perhaps that fits the effect you wanted.

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

    Hi, I’ve followed this step by step a few times and it just isn’t working… the transparent box just casts a shadow onto the box with the dissolve MI on, instead of cutting the shape out. Is there anything you can think to change? Thank you

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

      Probably figured it out by now, but in case anyone else was curious: there's a few issues with this they address in other uploads. This is basically part 1 and there's 3 total.

    • @pb-fo9rt
      @pb-fo9rt 2 ปีที่แล้ว

      I had made the mistake that I created a scalar value to drive scale and falloff in the "M_dissolve_area" material. after I converted them to parameters it worked like he shows here. Maybe this helps.

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

      Also can try increasing bounds scale to 500 or something like that.

  • @arnaudj7585
    @arnaudj7585 25 วันที่ผ่านมา

    and how do we get two dissolved cubes?? If I duplicate the cube it only works with one.

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

    the clip on mesh works perfect in editor but when I click play mode the cut out is gone... any one else have this issue and what is fix?

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

    Are you able to set this invisible area to no collision. So objects can pass through ?

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

    How can you mask out an object that is standing behind it but not in it? Like a character standing behind an invisible wall but isn't actually inside the wall.

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

    Nice tutorial and easy tutorial :-D
    But this dissolver is kinda buggy sadly, sometimes when I adjust the size or delete the dissolve cube it does not change the dissolve size as it normaly should but it stays as is :(

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

    How to do the same but with multiple cubes? Why is everyone omitting such an important point?

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

      Would like to know as well. Did you find any solutions?

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

    nice one! does anyone know how to render a sequence using the movie render queue? it seems not reacting at all when using this method. thanks

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

      Do u find solution?

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

      it seems the render queue don't receive any update from the sequencer when you animate a blueprint. My solution was creating a mask shader anstead masking the aboiject with a blueprint. annoying solution but I didn't find anything smarter than this@@klimakzak

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

    Thank you very much for your tutorial!
    1 other question, what if I want to make the box is more like doing live boolean for the wall?
    for now the cutting area looks holo. Thank you!

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

    seems like when I move the cube and add frame in sequencer, it does not move. but when I just drag via viewport that masking works. any thought ?

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

    Hi, thanks for the tutorial. I have a question. Is it possible to blur the mask so that the border of the cut is blurred instead of sharp edges? I have tried to connect the mask to the Opacity input and switch the blend mode to "Translucent" instead of "Masked" and increase "Edge Falloff", - but the effect is not working.

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

      We guess there are various ways. How about using Dither Temporal AA. Thanks

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

    강의 감사합니다!
    실제로 구멍이 뚫린 것 처럼 투명해진 구멍 부분을 캐릭터가 통과하게 할 수도 있나요?

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

    wait a minute. Does a Static Mesh tick more often than a Movable One? 6:15.

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

    can i make this with a normal mesh, that is custom shaped and not a box ?!

  • @박미라-c5z
    @박미라-c5z 2 ปีที่แล้ว +3

    How rotation?????

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

    Is it possible to change the Material BP to Opacity/Translucent instead of Masked?
    I need that to cut into a Water Plane (UE Marketplace Asset) that needs Opacity!

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

    Hey guy,your video is amazing,it helped me a lot.Now I am developing an Aiming Sight.Through the optic of aiming sight, I hope I can't see the vertext of the aiming sight(like cod or use render target on the optic),I think I need a cylinder mask 3d function in material editor,is there any other way?

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

    Nice thank you! Do you know if it is possible to apply this technique but with multiple overlapping meshes?

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

      We didn't test it, but we guess it will be working. Thanks

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

      did you test this yet? Did it work?

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

      @@TheKwiji I ended up using Mesh Distance Fields for masking instead.

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

      @@junegameart2866 awesome! Thanks for the quick reply!

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

    awesome thanks for the vid

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

    Dissolve mask not working UE5

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

    hello, this is great tutorial, thank you very much.
    I have a question: When I control the BP cube in sequence, I key the position and press play, it not moving the mask, is it a bug or sequencer dont allow that?

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

      You can update location info in material parameter in real time. Thanks

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

      @@CorebGames Thank for your answer, can you show me how to do that?
      Thank you very much

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

      @@ToriPham If you select simulate (alt s) and press play and then run sequencer you should see the animation and masking in real time. (As noted above you do also need to add to event tick as well).

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

      @@motionforgecg thank you very much, I'll try this method

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

    What is the music? I love it.

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

    Nice video! I want to make a material that, when applied to a model, will only render a flat-color cross section of the model as it intersects with other geometry. not with BoxMask

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

      I think what you are looking for is a mesh distance field

  • @이경현-b9p
    @이경현-b9p 3 ปีที่แล้ว

    오.....감사함돠!!! 크...이제 매입등 매치할때 구멍 모델링 안해도되겠다

    • @CorebGames
      @CorebGames  3 ปีที่แล้ว

      그렇게도 활용할 수 있겠네요^^

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

    Does is work with rotation?

  • @용가리-m1u
    @용가리-m1u 3 ปีที่แล้ว

    Great! Is it possible to mask with an object that I made? not a cube shape.

    • @CorebGames
      @CorebGames  3 ปีที่แล้ว

      Sure. Thanks

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

      @@CorebGames I'm afraid it's not possible. Whatever mesh you choose, the mask area is always a cube

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

    so this only works for cubes, right? how about complex objects

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

      Shape does not matter. Thanks

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

      @@CorebGames 可以出一期复杂模型的吗?

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

    Is it possible to don't see inside the mesh ? Close the mesh that we mask ?

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

      We didn't test it. Thanks

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

      @@CorebGames I need to know that

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

      ​@@CorebGames same same! many videos on this topic have tonns of comments about the empty space inside the masked meshes. how can the volume cut get something like a triplanar material assigned on its "contact surface" ?
      Btw someone did manage to do it in unity --> th-cam.com/video/Etukbcj6yGs/w-d-xo.html

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

      hi! Have you find a way to do it ?

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

    Not very clever solution... rotation not works, only single mask works.

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

    thx!

  • @Ryo-9p
    @Ryo-9p ปีที่แล้ว

    it works but no thickness

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

    Can this be multiple on one mesh?

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

      Yes, it will work. Get two location and make masks and add them. Thanks

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

      @@CorebGames The problem with this, is you have to add every object to the material manually. Would there be a way, to be automated, based on how many actors are in the scene? Like with distance fields. Thanks in advance!

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

    nope..

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

    Thank you for this. I am still not able to get this to work in an animation. I have updated it as seen below from @federicoFranchi but it still working. What is the solution?

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

      i am having the same issues, any update on a solution on your end? @Joe Stipo

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

      @@jamesgreer98 YES actually

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

      I am having the same problem. Did you find a way to fix it?@Joe Stipo

  • @JDG06-kh9xw
    @JDG06-kh9xw ปีที่แล้ว

    seems like when I move the cube and add frame in sequencer, it does not move. but when I just drag via viewport that masking works. any thoughts ?

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

      hey did you find any solution to this ?

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

    is there a way to apply it to transparent actors?