Make Scenes Look Amazing with Decals! | Unity Tutorial

Поділитися
Вставка
  • Опубліковано 10 лют 2025

КОМЕНТАРІ • 33

  • @SpeedTutor
    @SpeedTutor  2 роки тому +2

    I'm glad they added the decal system to URP but it's fantastic for adding decals! Have you ever used it?
    🔥Unity Sales: bit.ly/UnitySalesHub
    🔥SpeedTutor Unity Store: bit.ly/STUnityStorePuzzlePacks
    🔥HUMBLE SAVINGS: bit.ly/HumbleBundleDeals

  • @gamheroes
    @gamheroes 2 роки тому +7

    Apart from the potential to improve any model without adding additional geometry, the best is the simplicity of usage. Really thanks!

    • @SpeedTutor
      @SpeedTutor  2 роки тому +2

      You're very welcome, my friend! It's great for adding grunge and detail without going to extra effect in your own textures.

  • @96Cthulhu96
    @96Cthulhu96 Рік тому +2

    Alternativeley you can create your own decal shader to get rid of the problem with the normal blending. Its pretty easy. What is happening is that the empty normal information from the decal is replacing the normal information of the wall below, depending on how intense the slider is... this is great for decals that actually have their own normal information, so you might want to make use of that. The only thing you have to make sure to do is to connect the decal's alpha channel to the normal alpha output and it should tell the projector where not to project normal information. :)

  • @mertcilgasit
    @mertcilgasit 2 роки тому +2

    Great videos as always !

    • @SpeedTutor
      @SpeedTutor  2 роки тому

      You're very welcome and thanks for much for checking this out. Will you use it? :)

  • @stylie473joker5
    @stylie473joker5 2 роки тому +1

    Thanks a lot you always bring the Juicy stuff haha

    • @SpeedTutor
      @SpeedTutor  2 роки тому +2

      No worries, my dude! I love learning new things myself too! :D

  • @kitsunegamedev4526
    @kitsunegamedev4526 2 роки тому +2

    Thats super useful, will use it in my projects. Thanks!

    • @SpeedTutor
      @SpeedTutor  2 роки тому +1

      Awesome, good luck with it! I think it's an awesome solution :)

  • @BadBanana
    @BadBanana 2 роки тому +1

    That's very noice.
    Will definately be using the package.

    • @SpeedTutor
      @SpeedTutor  2 роки тому

      It's definitely worth it because it's now built into URP, makes life easier to add extra detail more easily! :)

  • @Ingo.Mclean
    @Ingo.Mclean 2 роки тому +1

    thats a great tutorial!

    • @SpeedTutor
      @SpeedTutor  2 роки тому

      You're very welcome! :) Thanks for checking it out.

  • @indigodoyle
    @indigodoyle 2 роки тому +2

    Great video!
    Just wondering what kind of impact this has on performance if you were to use a decent amount (20-30) across a small map?

    • @SpeedTutor
      @SpeedTutor  2 роки тому +2

      20-30 aren't going to be very heavy on the system. It's like using planes and then applying the texture. You could even atlas your textures and one texture, one material could have every single one of your decals on the sheet. Then use the tools on the decal system to crop to your UV you want! :)

  • @random_precision_software
    @random_precision_software 2 роки тому

    Great video Matt.. can your next video tell us how to use them in scripts ? Ie bullets holes etc! 🙂

  • @halogenic
    @halogenic 4 місяці тому

    How do you stop the Decal from projecting onto your Player, when they run through a projector box, during game mode?

    • @SpeedTutor
      @SpeedTutor  4 місяці тому

      That's a good question, I'm not sure about that one. Can you put it on specific layers?

    • @halogenic
      @halogenic 4 місяці тому +1

      @@SpeedTutor I worked it out. Locate the Decal Shader make a copy and store it in your project files. The activate the "Angle Fade" checkbox on the Graph inspector. That will give you a new range-slider option, that lets you fade based on angle. So you can fade the side angles. That just leaves the front facing polygons affected. You can reduce the width of the Projector to deal with those.
      This technique also lets you fade out strange stretched section on the floor etc.

    • @SpeedTutor
      @SpeedTutor  4 місяці тому +1

      Really awesome! I feel as if this should be exposed by default, shouldn't it?

  • @DayMoniakkEdits
    @DayMoniakkEdits 2 роки тому +1

    I wish this was possible in the built-in render pipeline, there's no way for me to use URP after pulling all my hair on the weak lighting

    • @SpeedTutor
      @SpeedTutor  2 роки тому +1

      You could just use planes and add the texture that way, as long as you use a cut out shader. Yes it's slightly more hassle but you could even get the decal system from the Unity store, I think there is a good one on there! :D

  • @geri4367
    @geri4367 2 роки тому +1

    Still no layer masking? :(

    • @SpeedTutor
      @SpeedTutor  2 роки тому

      Not to my knowledge, no :( Not for URP at least.

    • @ThungStudios
      @ThungStudios Рік тому

      In 2022.2.9 there's an option to use Rendering Layers, so set one of the lighting layers on the URP Decal Projector and then set a different Rendering Layer on the Mesh Renderer under "Additional Settings"

    • @ProgramSketcher
      @ProgramSketcher 7 місяців тому

      @@ThungStudios Thanks so much, this is a life saver.

  • @FAKKER_rap
    @FAKKER_rap 6 місяців тому +2

    How the fk decals were made before urp hdrp??

    • @SpeedTutor
      @SpeedTutor  6 місяців тому +1

      You just create a texture with a transparency layer in something like photoshop or save out as a .PNG and use a shader that used a cutout. Very similar to now and just whack your material on a plane, it worked just as you'd expect. :)

    • @FAKKER_rap
      @FAKKER_rap 6 місяців тому

      @@SpeedTutor 🤯🤯🤯

  • @GonzaloDev-ww9un
    @GonzaloDev-ww9un 2 місяці тому +1

    :)