MAKE YOUR LEVELS PRETTIER with Decals!

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

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

  • @Brackeys
    @Brackeys  4 года назад +48

    Hey everyone!
    To those of you who can't find the package: Unity has moved the "Show Preview Packages".
    You can now find it under Edit -> Project Settings -> Package Manager -> Enable Preview Packages.
    If you check that box, you should see preview packages in the Package Manager! :-)
    Stay awesome!

    • @PdUnique
      @PdUnique 4 года назад +6

      Sir, please mention the link on how to setup HDRP on an existing project...

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

      @@PdUnique im crying on same thing

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

      Thanks Brackeys!

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

      Regarding setting up HDRP on an existing project, try the following
      1. Back up non-HDRP project somewhere
      2. Open the non-HDRP project within Unity. Open the package manager.
      3. Locate "High Definition RP". As of this writing, it's "Version 12.1.7 - July 18, 2022".
      4. Select this package, then click the Install button.
      5. Unity shows a progress dialog (for just over 2 mins for me).
      6. Unity shows an "HDRP Wizard"
      7. Click the 'fix' buttons for all aspects you want fixed.
      8. This will result in more progress dialogs that install stuff. This step does the vital add an HD Render Pipeline Asset to the project, and selects it within the Edit -> Project Settings -> Graphics page.
      9. Use the various buttons within the "Project Migration Quick Links" to upgrade your assets
      10. In the background you'll see your scene view start to use the HD features as you use the fix/upgrade buttons.
      11. You can click the X button for the HDRP Wizard when you've completed all steps you care about.
      12. I suggest clicking Assets -> Reimport All. This took ~2 mins to complete for me.

  • @twisky3751
    @twisky3751 Год назад +3

    if anybody is having issues with the decals facing the wrong way or clipping into the ground, change Vector3.up to vector3.forward and change the z pivot to something lower like 0.45

  • @Jabrils
    @Jabrils 5 лет назад +54

    This is brilliant & just what I needed. To hell with fiddling in shader coder. 😂

    • @jonsnow1092
      @jonsnow1092 5 лет назад

      Hello, liked your training ai agent episodes good job!!

    • @guilleacq
      @guilleacq 5 лет назад +1

      NOW WOULD YOU LOOK AT THATTTTTTTTTTTTT, two legends meet

    • @obalfaqih
      @obalfaqih 5 лет назад +2

      It's time for an AI agent that paints walls using decals ;)

  • @toxiccan175
    @toxiccan175 5 лет назад +33

    Thank you for doing what you do. You are the go to person when someone asks me what Unity is. Keep up the good work!

  • @someone-js6pg
    @someone-js6pg 5 лет назад +47

    great vid didn't even know what decals were before the video know I *love* them
    Edit: especially because I didn't know how to make bullet holes

    • @gameexplorer4963
      @gameexplorer4963 5 лет назад +2

      And that is exactly the kind of audience his videos are for. In a year or so, you will be surprised people were excited to find out about things like that. It's like finding out the names of the months, or the days of the week.

  • @mekniwassime2098
    @mekniwassime2098 5 лет назад +324

    "Coding your own game is easier than you think, you know what..." skip

  • @sketch3436
    @sketch3436 5 лет назад +2

    The available HDP features are so good, I remember back in the day when I created decals using quads with a material on fade XD

  • @zig8925
    @zig8925 5 лет назад +169

    Udemy ad on the video, and skillshare ad *in* the video...so conflicting

    • @stuwustudio
      @stuwustudio 5 лет назад +7

      ZiggyZeg 2005 Toxic Can Udemy is a very fishy business... Skillshare’s way better!

    • @supremespark2454
      @supremespark2454 5 лет назад +1

      Very sketchy

    • @123okqq
      @123okqq 5 лет назад +3

      coding your own games is easier than you think

    • @zig8925
      @zig8925 5 лет назад

      I can't wait to see what you make with this!

    • @zig8925
      @zig8925 5 лет назад

      @@stuwustudio but it sounds like unity...

  • @EisenGlas
    @EisenGlas 5 лет назад +3

    I love the quality of your tutorials! It's truly amazing. As soon as I have a better paying job I will support you on patreon, I promise! Thank you for this free content. It's much appreciated and so motivating.

  • @InnerTurbulencia
    @InnerTurbulencia 5 лет назад +69

    HD render pipeline: "I'll make sure to have a link on how to do that in the description". Oh really?

    • @dan-mechanics2014
      @dan-mechanics2014 5 лет назад

      true

    • @jso19801980
      @jso19801980 4 года назад +12

      he didnt say when or which video description

    • @SSSPrince
      @SSSPrince 4 года назад

      bruh someone link it pls lol

    • @agastyavalisetty8620
      @agastyavalisetty8620 4 года назад +8

      @@SSSPrince ruclips.net/video/12gkcdLc77s/видео.html
      here ya go!

    • @1337rooster
      @1337rooster 4 года назад

      @@agastyavalisetty8620 Thank you!

  • @pdjinne65
    @pdjinne65 5 лет назад

    it really ties the room together.

  • @aussieraver7182
    @aussieraver7182 5 лет назад +2

    I've been trying to figure out for months on how to avoid using 2D planes for decals, it looks awkward when you shoot a character because of the complex geometry.
    Much appreciate Brackeys!

    • @Semaj0z
      @Semaj0z 4 года назад

      I use 2d sprites, much better

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

    Just learned about Decals and damn these are AMAZING

  • @Oxmond
    @Oxmond 4 года назад +1

    Nice bullet hole tutorial! Decals rocks! 👍🤓

  • @SkipToPlay
    @SkipToPlay 5 лет назад +6

    Skip Ad: 1:34

  • @WonboShim
    @WonboShim 5 лет назад +1

    omg finally a good tutorial on decals

  • @TheHowingFantods
    @TheHowingFantods 5 лет назад

    Such a joy to watch these videos.

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

    Thank you! Just fixed a bug!

  • @niklasneuhold8606
    @niklasneuhold8606 5 лет назад

    You are a Unity god, love it...

  • @CouchFerretmakesGames
    @CouchFerretmakesGames 5 лет назад +7

    If it doesn't work, *make sure to* check the *HDRP* asset and manually *enable the decal buffer!*

  • @sylvainZa
    @sylvainZa 5 лет назад

    Brackeys is bae

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

    Thanks!!!

  • @Haapavuo
    @Haapavuo 5 лет назад +76

    And now make a video on how to render decals without HDRP. Thanks.

    • @GymCritical
      @GymCritical 4 года назад +7

      Haapavuo ordering people doesn’t get you anywhere lol

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

      @Haapavuo You might consider being more polite

    • @GymCritical
      @GymCritical 4 года назад +1

      @@PdUnique you're a sensible man.

  • @obalfaqih
    @obalfaqih 5 лет назад

    Finally, Decals is out! It will save us a lot of time.
    Thanks!

  • @rezaka116
    @rezaka116 5 лет назад +28

    _Coding your own games is easier than you think._

  • @warrenroche8420
    @warrenroche8420 5 лет назад

    Great shirt Brackeys

  • @christophersmit2219
    @christophersmit2219 5 лет назад

    Been looking for a tutorial on this for ages! Thanks a lot!

  • @CodedXtreme
    @CodedXtreme 5 лет назад +1

    Because of you I'm able to develop games accurately and everyday I watch your videos I learn something new, I'm truly grateful, thank you Brackeys for everything ❤️

  • @charlenekaczynski9023
    @charlenekaczynski9023 5 лет назад

    Woah! Cool lighting!

  • @GuldorPhotography
    @GuldorPhotography 5 лет назад

    Holy crap this effect is amazing! I did not know this was even an option, thanks!

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

    Thank you, this is exactly what I searched for

  • @isaacgejames
    @isaacgejames 5 лет назад +1

    I remember using them ins source to make
    "real time shadows"

  • @CMG3d0u4rdFR
    @CMG3d0u4rdFR 5 лет назад

    Damn that's very useful. I didn't even knew that feature existed with HDRP ! Thanks !

  • @goga.games18
    @goga.games18 5 лет назад

    this is exacly what i wanted thank u

  • @endihaxhi2460
    @endihaxhi2460 5 лет назад +68

    What about default rendering pipeline? HDRP is so far away, it wont be here for a while.

    • @StigDesign
      @StigDesign 5 лет назад +2

      Same for me i tried HDRP but every thing turned pink :( so i had to go back to default rendering and yes it took along time to fix every material and modell :(

    • @Splorange1
      @Splorange1 5 лет назад +4

      StigDesign1 u have to convert all the materials to hdrp shader

    • @IndieMarkus
      @IndieMarkus 5 лет назад +14

      Just google unity projector - you can use the existing projectors from the standard assets. They are usually used for cheap shadows but should work for bullet holes as well
      EDIT: Here's a link: docs.unity3d.com/Manual/class-Projector.html

    • @Lyserg1260
      @Lyserg1260 5 лет назад +13

      There is official asset for decals in default pipeline, just download this pack: blogs.unity3d.com/2015/02/06/extending-unity-5-rendering-pipeline-command-buffers/

    • @StigDesign
      @StigDesign 5 лет назад

      @YASTRON oh, i have tried that, but it stayed pink so. thank you :)

  • @JanHavel
    @JanHavel 5 лет назад

    Good video tho i was kinda expecting a lil bit more tips - like first what comes to my mind is when something flat enough in scene or player hands and so will move between the projector and the wall i suppose those bullet holes will "jump" from wall to that object ... chances are probably smaller than i expect but it would probably not be bad to mention how to mask it by layer or something if its even possible and so.

  • @Snipergen
    @Snipergen 5 лет назад

    Aaaah! Should have just duplicated your bullethole texture and generated a normal map from greyscale, I really wanted to see it :P But great video again guys!

  • @danieledesa100
    @danieledesa100 5 лет назад

    I would love to have more podcasts from you. Have you ever thought of starting doing that as well? Maybe something that would be available on a mobile device as well? Google podcast??

  • @Ubayla
    @Ubayla 5 лет назад

    Don't know why you left it out, but you can also adjust the size of the decal projector by changing the Size property in the inspector or by using the small white handles on the faces of the cube gizmo in the scene. (Instead of by scaling)

  • @babyfire6221
    @babyfire6221 5 лет назад

    didn't find a decal tutorial until this

  • @TsetTsyung
    @TsetTsyung 5 лет назад

    Thank you so much. This is another superb tutorial.

  • @mustafaeren9859
    @mustafaeren9859 5 лет назад

    Thank you for everything you are doing for us :) take care, have a wonderful life

  • @abdoljalilsoltani9471
    @abdoljalilsoltani9471 5 лет назад

    Excellent !!
    Thankful

  • @_chappie_
    @_chappie_ 5 лет назад

    Thanks

  • @TriSutrisnowapu
    @TriSutrisnowapu 5 лет назад

    Amazing tutorial

  • @bluegreninjagamer4443
    @bluegreninjagamer4443 5 лет назад +1

    You are AMAZING!!!

  • @adizbek_ergashev
    @adizbek_ergashev 5 лет назад

    Thanks. Great

  • @aquavitale3551
    @aquavitale3551 5 лет назад +6

    How many decals can unity handle without significant slowing down? Can those things be "baked" into textures in runtime in a way lightmap is baked to reduce the number of instantiated projectors if, let's say, we want to keep those bullet holes in a scene forever?

    • @gameexplorer4963
      @gameexplorer4963 5 лет назад +1

      That is a tough question. Maybe ask how to click a button in Unity. :D

    • @Uglynator
      @Uglynator 5 лет назад +1

      That's what I've been wondering about too. The standard Unity projectors are notoriously slow, so I don't know how fast these will be, especially since they need the HDRP. I've found an asset on the store however, that appearently can bake decals into textures, called EasyDecal. I didn't try it myself as of yet however.

  • @jacobzackaria9876
    @jacobzackaria9876 5 лет назад

    Brackeyyyy....Do a video on Camera Collision and occlusion..also about animating buttons and other UI elements 😀

  • @brandonnorsworthy
    @brandonnorsworthy 5 лет назад

    thank you for the free 2 months

  • @robmuzz
    @robmuzz 5 лет назад

    Great video!

  • @NicholasScotti
    @NicholasScotti 5 лет назад

    what do you think to make a video about "publish your indie game for free" ?

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

    For me the rotation is bad with the bullet holes. The decal is streched out because of this. Any idea why?

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

      The prefab's transformation is reset, the tiling is 1:1 and the material is set to HDRP/Decal.

  • @Danee2108
    @Danee2108 4 года назад +1

    *Cries in LWRP*

  • @galacticgaming5058
    @galacticgaming5058 5 лет назад

    i love this channel!!!!

  • @nikitagorokhov6636
    @nikitagorokhov6636 5 лет назад

    Hi. Thanks a lot for your videos. I have two propositions for new videos. 1. Drag and release shot like in mini golf games (with direction arrow depends on power) with description about different types of Camera methods. I mean SreenPointToWorld and other. And of course for 3D :) No normal video in RUclips about this. 2. Creating an shader (Shader graph) or other usable method (masking or something else) for round timer or health bar. NOT in UI system with “image fill” property. Regular sprite with option to put it everywhere in 3D scene not on canvas. I didn’t find video about it. Thanks a lot.

  • @therealpeter2267
    @therealpeter2267 5 лет назад +3

    What's the difference between this and the already existing projector? And also what's the performance of it?

    • @quasar4780
      @quasar4780 5 лет назад

      The projector we already have replaces the material of all the surfaces it touches with its own material. This one just projects a "plane" rendered with the given material and wraps it around the surfaces it touch.

    • @therealpeter2267
      @therealpeter2267 5 лет назад

      @@quasar4780 okay, thank you!

  • @onezerodev1756
    @onezerodev1756 5 лет назад

    This is awsome

  • @omerakyuz3206
    @omerakyuz3206 5 лет назад

    Is it performance-friendly for mobile?

  • @LostStylus
    @LostStylus 5 лет назад +1

    What if I want decals without HDRP to target mobile platforms?

  • @babybam4363
    @babybam4363 4 года назад

    you have more subs than the official unity channel

  • @okee
    @okee 5 лет назад

    Yes

  • @juanegray123
    @juanegray123 4 года назад

    Hi, I am using these decals for bullet holes, but I can't edit the materials or access any variables to change the instance at runtime. Any ideas how to have them scale or fade out. thanks.

  • @Real_MrDk
    @Real_MrDk 5 лет назад

    I like this

  • @ScientObject40
    @ScientObject40 5 лет назад +1

    pod pod pod pod... PODCAST!!!
    lmao!

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

    What if I use the Universal Rendering Pipeline....and not the HD one...?
    I mean..is there no way to do a projector or a caustic in PBR??

  • @philpa4830
    @philpa4830 5 лет назад +2

    Hi Brackeys, is there a possibility to exclude some objects, so they don't get lit by the decal projector?

  • @Vrga
    @Vrga 5 лет назад

    Ok,this is epic

  • @flaviopitica
    @flaviopitica 5 лет назад

    could not find that link on how to that in the description

  • @borishanudel
    @borishanudel 5 лет назад

    Cool - it is really simple in HD Render Pipeline :)

  •  5 лет назад +2

    how to configure hd pipeline to my project?

  • @Weckacore
    @Weckacore 5 лет назад

    If an object walks through the box of the decal projector, will the bullet hole appear above the object? For example, a foot steps on where a projector is, does the bullet now look like it is on said foot?

  • @maltesvensen1635
    @maltesvensen1635 5 лет назад +1

    i think you forgot to add the link on how to get the high defenition render pipe line in the descrpition like you said you would in the video :( been looking up on youtube how to get it but it seems like you need to create a new project for that, isnt there a way to add it on a existing project?

  • @waterfan3399
    @waterfan3399 4 года назад

    i gave u a like as usual but this time, by seeing your cute smile at intro

  • @southpawdevelopment
    @southpawdevelopment 5 лет назад +1

    Brackeys there was no link for the HD render pipeline which I really want and need! Please post one!

  • @BlueJeebs
    @BlueJeebs 5 лет назад

    Quick question. are the HDRP decals compatible with light baking?

  • @adinassaem
    @adinassaem 4 года назад

    is it possible to multiply a decal to objects' textures?

  • @lukeafk8426
    @lukeafk8426 5 лет назад

    Hi plz help me i made a mobile game but when i built the game and when i playing the game on my phone its have differint control why this is happing?? @Brackeys

  • @lizardsempire5770
    @lizardsempire5770 5 лет назад +1

    Nice

  • @alejandrozamora3468
    @alejandrozamora3468 5 лет назад

    I got that game designer adrenaline rush when I saw this.

  • @anubhavgupta3562
    @anubhavgupta3562 5 лет назад +1

    You're rolling ? Awesome ! Decals.......

  • @chuudpjeer8145
    @chuudpjeer8145 5 лет назад

    i took advice very helpful to make more efficient use of time. cousin say to me "how do get so fast to do this cousin chuud" and chuud say "simply do not waste the time". much help to improve skllsets thank you my friend ok.

  • @tranceemerson8325
    @tranceemerson8325 5 лет назад

    I like your videos, I would like to see how to use FFT (fast Fourier transform) to generate terrain, or water surfaces.

  • @rukna3775
    @rukna3775 5 лет назад

    checked ur podcast, great. And yeah, those Indian views are mine, I have been following u from a long time.

  • @waqariqbal2358
    @waqariqbal2358 4 года назад

    Is HDRenderPipeline suitable for games targeting the mobile platform? Wouldn't it be too intensive for mobile games?

  • @MatusFinchus
    @MatusFinchus 5 лет назад +2

    "I can't wait to see what you make with this..."

  • @VS-rv5xh
    @VS-rv5xh 5 лет назад

    Is there a low spec alternative? HDRP is level 11 DX and my card only supports level 10.
    Right now i just instantiate textures at the point of rayhit.
    Works fine ..but not for bigger textures like bloodsplats

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

    If you come back I'll be here :'(

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

    Would this work as a replacement of the shadow projector in URP, or to create caustics under water?

  • @solomonsekyim4530
    @solomonsekyim4530 5 лет назад

    Thanks Brackeys I really wanted a tutorial on that but I kinda missed the keyword '"Decal"

  • @alexvandenberg3371
    @alexvandenberg3371 4 года назад

    Any way to achieve this using the LWRP???? :)

  • @MiroslavRD
    @MiroslavRD 5 лет назад

    Oh, i now like Unity again.

  • @cfactorygames
    @cfactorygames 5 лет назад

    Have any way to animate a decal? Using a grid sheet texture or multiples images

  • @dan-mechanics2014
    @dan-mechanics2014 5 лет назад

    Great!!

  • @phreshhmon
    @phreshhmon 5 лет назад

    Yes_yes my Friend.

  • @WinDArtArh
    @WinDArtArh 5 лет назад

    Hey. What about choose layer for decals? If i want use decal for only one object but this located with others.

  • @magicquest5221
    @magicquest5221 5 лет назад +3

    1:47 where is the link?

  • @Bugonnn
    @Bugonnn 5 лет назад

    Just wondering how can brackeys code in visual studio brackeys using have color? Mine just blue and white

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

    Anyone have info on how performant these are? I imagine its probably best to use some sort of object array + timeout to make sure these dont stack too heavily? What about ones that are part of the environment?

  • @isaacnewton8983
    @isaacnewton8983 5 лет назад +1

    How performant is the decal system? I'm working an a relatively large protect and i am wondering how hundreds of decals is going to affect the Fps of my game.