Create an Advanced Bullet Hole Effect In Your Game | Unity 2024

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

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

  • @nonameincognito1907
    @nonameincognito1907 6 หลายเดือนก่อน +2

    to get rid of all this mambo-jumbo with position you can simply center decal bounds to pivot, or just allign it not with ray direction, but with hit normal, so the hole allways aligned with surfce.

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

    Nice explanation of your process, thanks for the vid!

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

    Amazing video)

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

    Thank you so much

  • @BRJEShKashyap-i7n
    @BRJEShKashyap-i7n 7 หลายเดือนก่อน

    Amazing sir can you make some tutorials like this 😍😍🥰🥰

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

    Pretty neat tutorial, but I have a question, what if the target you are shooting is round, will this method work? How will the decal projection look?

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

      It will still work! Decals conform to any surface, even if it isn’t flat

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

    decal cannot show on transparent material, how to fix this?

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

      That’s a very good question, I’ll have to look into this

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

    Can you please show the process of creating a bullet hole texture in Photoshop?i cant find video (

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

      I will add it to my list of videos, but the general idea would be to draw a circle, use a radial gradient, rasterize the circle then use the polygonal lasso tool to draw cutouts into the circle. You could use a template image for reference. Good luck!

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

    How would I make the decal seem like it is making a hole in the mesh of the wall? Like adding a normal map, but instead of extruding out, it goes in so it's a hole.

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

      It’s all in the normal map that determines the direction and depth of the hole/extrusion. If using external programs based off of default color (like I did here with photoshop) aren’t producing the desired effect, you’ll have to take a deeper dive into normal maps and how they work

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

      @@spaderdabomb Oh, I know how normal maps work, but when I'm using Universal Render Pipeline, the normal maps don't work. Only using HDRP fixes the normal maps.

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

      Oh I see. What version of unity you working with? I actually rmemeber that there used to be a bug with decal projector normal maps in URP that got fixed sometime in late 2022. If you’re not already, I would see if updating Unity to 2022.3 fixes ur issue first. Lmk if that isn’t that case.

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

      @@spaderdabomb Actually I never knew that! I was using Unity 2021. I'll try upgrading and see what happens. Thanks for your help!

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

    can you make ark animal tame and riding with code