Pixel Perfect Lights and Particles in Unity! (Tutorial)

Поділитися
Вставка
  • Опубліковано 27 вер 2020
  • In this video, we are going to demonstrate how you can use the Universal Render Pipelines 2D Renderer and 2D Lights to create Pixel Perfect Lights and Particles.
    Download the assets from this project here!
    on.unity.com/3mVQptT
    Learn more about the Universal Render Pipeline here!
    on.unity.com/33boIFD
    Read more about our 2D Lights here!
    on.unity.com/339Rdna
    And finally, here you can find more Information about the 2D Renderer!
    on.unity.com/3457WqH
    Unity Version used 2019.4
  • Ігри

КОМЕНТАРІ • 143

  • @xianead18
    @xianead18 3 роки тому +125

    Damn. They've been stepping up so much ever since Brackeys stopped

    • @normalhumanbeing6066
      @normalhumanbeing6066 3 роки тому +5

      Xianead Penilla true

    • @gerarddilk4862
      @gerarddilk4862 3 роки тому +4

      good for us

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

      I guess im asking the wrong place but does someone know of a method to log back into an instagram account..?
      I somehow forgot the account password. I appreciate any assistance you can give me.

    • @AlanAlan-bv9yg
      @AlanAlan-bv9yg 2 роки тому +2

      Sebastian Lague is better than Brackeys very much

  • @Terror1046
    @Terror1046 3 роки тому +21

    I just want to mention that the tutorial guy has a nice voice and that I appreciate the structure in these tutorials. It's miles better than what you usually find on youtube

  • @albertb4460
    @albertb4460 3 роки тому +23

    Unity stepping in in the unity tutorials field

  • @youneskasdi
    @youneskasdi 3 роки тому +1

    Quality tutorial, amazing detailed explanation and still managing to keep it simple so everyone can understand, please keep uploading stuff like these.

  • @sujayisarani8275
    @sujayisarani8275 3 роки тому +184

    After brackeys this is my hope
    Unity itself!!
    Edit : thanks for 131 likes

    • @lct7xi888
      @lct7xi888 3 роки тому +7

      Why did Brackeys quit :(

    • @sujayisarani8275
      @sujayisarani8275 3 роки тому +3

      He wanted to do something else

    • @rod-abreu
      @rod-abreu 3 роки тому +7

      ​ @ΞLΞCT7XI He deserves it. It is a lot of work to create and prep content in the quality he was already doing in his vids, I know he had a team working with him, but it's been 8 years already. He made a lot of money with his vids and I think everything is well deserved, in his place I'd take some sabatical years before thinking of coming back, honestly. I work with video games and it's a lot of work to keep delivering stuff in time and finishing up everything you want and need, specially when it's an yearly sport game. Lots of efforts.

    • @khushalkhan83
      @khushalkhan83 3 роки тому +1

      You are lost, unity channel guy is too lazy to put project link he always says that it will be in description but never put it there. How could someone hope from someone like that

    • @mythip_
      @mythip_ 3 роки тому +2

      @@khushalkhan83 you are lost cant you see the link in the description

  • @pandaengine
    @pandaengine 3 роки тому +1

    Holy moly this was the video I was waiting for!

  • @kuumaaa
    @kuumaaa 3 роки тому +1

    really like the small particles floating around

  • @TurboMakesGames
    @TurboMakesGames 3 роки тому +3

    🤩 So beautiful! Love how this allows a programmer like myself to easily add a ton of character to my game world

  • @mr.madman9467
    @mr.madman9467 3 роки тому

    Nice that you went public. Wish you the best of luck!

  • @AndyHodges10
    @AndyHodges10 3 роки тому +7

    - Update. The asset link has been added to the description. Thanks a ton!
    I'm currently not seeing the example project linked in the description. I do however see the 3 reference links.

    • @11305205219
      @11305205219 3 роки тому

      +1

    • @andytouch9482
      @andytouch9482 3 роки тому +2

      Hey! Sorry about that, we are working on fixing it. :)

    • @unity
      @unity  3 роки тому +2

      @Hodge Podge We have now updated the description with the proper link! Thanks for your patience!

  • @chris.davidoff
    @chris.davidoff 3 роки тому

    This is so stellar

  • @eboatwright_
    @eboatwright_ 3 роки тому

    YESSS! I've been waiting for this! :O

  • @zaidmermam2524
    @zaidmermam2524 2 роки тому +4

    5:32
    my mind : a great system for making amazing particles * in dani's voice *

  • @Arnoldius
    @Arnoldius 3 роки тому +69

    It would be really cool if 2D lights would support soft shadows!

  • @Oxmond
    @Oxmond 3 роки тому +1

    Looks awesome! 🤓🧡🤓🧡🤓

  • @dorondavid4698
    @dorondavid4698 3 роки тому

    Awesome stuff!

  • @hm4266
    @hm4266 3 роки тому +2

    Cool! but I was looking this a long time ago and found all by my own) but that’s still really helpful

  • @gyanendrasingh2003
    @gyanendrasingh2003 3 роки тому +56

    When brackeys fans don't get any channel like that

    • @gargaroots
      @gargaroots 3 роки тому +1

      Check the Code Monkey channel, it's amazing.

  • @droweedryan
    @droweedryan 3 роки тому

    you killing it

  • @monalloyd
    @monalloyd Рік тому +1

    Hi, great video, thanks for uploading! I have a question: the aspect ratio changes in different sections of the video - sometimes it's "Free Aspect," sometimes 1920x1080, and sometimes 16:10. Is there an ideal aspect ratio when using 16 PPU? I'm very new to all of this and I'm always a little bit confused about choosing a good aspect ratio for my projects. I know it's been a while since this video was uploaded, but I hope you'll respond. Thanks again for the video!

  • @alecz_ro
    @alecz_ro 3 роки тому +14

    I'm waiting for dani to come here because..... *Unity particles system*

  • @matveydutkovsky6184
    @matveydutkovsky6184 Рік тому +1

    Hello! Render texture wasn't upscaled and in Pixel Perfect Camera (Experimental) was "Pixel perfect Camera in the 2D Pixel Perfect package isn't compatible with Scriptable Render Pipeline. If you are using Lightweight Render Pipeline, you can swap this for the Pixel Perfect Camera component that ships with LWRP". Unity version 2020.3.36f1

  • @lunaticartimus
    @lunaticartimus 2 роки тому +3

    Hi Unity, Light2D sprite masks seem to not respect "Filter Mode: Point (no filter)" any more, compared to the experimental (mask) cookies. Is there any option to get pixelated lighting back?

  • @revengerwizard
    @revengerwizard 3 роки тому

    The pixel perfect camera is starting being perfect also with lights and particles. Maybe a thing awesome would be to make it work with UI

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

    Awesome

  • @mauschannelbois5089
    @mauschannelbois5089 3 роки тому

    It would be great if the 2D render pipeline could support 3D illumination... Like a 2.5D render pipeline would be amazing

  • @agastyavalisetty8620
    @agastyavalisetty8620 3 роки тому +6

    hey wut if there was a 2d raytracing?

  • @DaveMetzener
    @DaveMetzener 3 роки тому +7

    Maybe it's way early in the morning for me, but am I not seeing the "link in the description" to the project in the video that we can download and look at? I see the "more info" links, but that's it. I really would like to pull down the sample to experiment with. Thanks in advance...

    • @andytouch9482
      @andytouch9482 3 роки тому +2

      Hey! Sorry about that; we are working on fixing it. :)

    • @bsdrago
      @bsdrago 3 роки тому

      @@andytouch9482 Waiting!! =)

    • @unity
      @unity  3 роки тому +5

      We have now updated the description with the proper link! Thanks for your patience!

    • @bsdrago
      @bsdrago 3 роки тому

      @@unity

  • @OmegaFalcon
    @OmegaFalcon 3 роки тому +1

    Does pixel perfect camera work with multiple vcams at different distances, cuz I couldn't get them to work

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

    Awesome . But can I render a High resolution normal sprite not pixelated into a pixelated sprite using this camera ?

  • @rzbig
    @rzbig 3 роки тому +1

    Always wondered how to make pixel perfect _paticles_ ...

  • @user-jf2rj3zf5v
    @user-jf2rj3zf5v 3 роки тому +1

    But is there a way to pixelate the light itself? Because the light seems soft still. How can you make it "toony"?

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

    so to the ppl than want that projected shadow, just add "Shadow Caster 2D" at object than u want a shadow, so u change the "Shadow Intensity" value at light inspector. thats it

  • @lahiter
    @lahiter 3 роки тому +3

    Anyone else having issues with the pixel perfect camera, cinemachine and pixel snapping? My camera isn't very fluid when I move it.

  • @gabrielpaduraru6922
    @gabrielpaduraru6922 3 роки тому +5

    We all expect dani in the comments

  • @Gx-Studio
    @Gx-Studio 3 роки тому +2

    where is the link of the project i can't find it

  • @KiuanTroll
    @KiuanTroll 3 роки тому

    Oh yeah!

  • @TheAnonymPL
    @TheAnonymPL 3 роки тому

    Are the pixel perfect lights compatibile with Unity ECS? and can they be spawned as entities?

  • @joni89qe
    @joni89qe 3 роки тому +1

    They didn't explain how to get the floating particles affected by light, or did I miss something?

  • @masterz0
    @masterz0 3 роки тому +1

    How to remove the camera jitter, when accompanying the player?

  • @jertlemiah
    @jertlemiah 3 роки тому +3

    I don't see the link for the project in the description, there is only the links to the documentation on the things used (and I don't see this example listed there either).

    • @HypedO_OP
      @HypedO_OP 3 роки тому

      i used it, the assets are helpful to me i dont know about yours

    • @jertlemiah
      @jertlemiah 3 роки тому

      Ahhhh, they updated the description to add the link. It was not there when I made my previous comment

    • @HypedO_OP
      @HypedO_OP 3 роки тому

      @@jertlemiah oh

  • @n3xt0r
    @n3xt0r 3 роки тому +1

    Esas paticles!

  • @HylianLegend
    @HylianLegend 3 роки тому +4

    who else clicked on this video because they misspelled particles on the thumbnail

  • @xvrsl
    @xvrsl 3 роки тому

    Finally

  • @scratchy996
    @scratchy996 3 роки тому

    Is there something similar to make those light rays for 3D ?

  • @DonPoorty
    @DonPoorty 3 роки тому

    What do I need to do for my sprites to project a shadow?

  • @iamjustaduck7592
    @iamjustaduck7592 3 роки тому

    Did you animate the shadow caster2D on the player or am I dreaming ? If you did, could you tell me how please? :0

  • @LeoHsieh
    @LeoHsieh 3 роки тому +10

    Can I just change my monitor resolution to 320 x 640 and expect the game turned into pixel art?

  • @franciscojaviercampos3672
    @franciscojaviercampos3672 3 роки тому

    It would be good to have the sample project

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

    What if? ..... I want this cool pixel perfect particle effects but i dont want the pixel perfect camera all over my game, for example my character is swinging a sword. I dont want the sword to be pixel perfect. So how can i achieve to say what exactly should pe pixel perfect and what not?

  • @daffa-d3633
    @daffa-d3633 3 роки тому

    5:33 its a great system where you can make particles (dani)

  • @JulianColbus
    @JulianColbus 3 роки тому +3

    Is there a way to make JUST the lighting pixel perfect (i.e. all types of 2D Lights) and nothing else?
    We do want smooth movement of camera and sprites, so we disabled "Upscale Render Texture" and "Pixel Snapping". But I would like to try and see what pixel perfect lighting looks like, i.e. if light falloff were to adhere to the size of "asset pixels" rather than "screen pixels". Sprite Lights aren't the answer I'm looking for since they aren't suited for all use cases. Thanks in advance to anyone who might know the answer. (:

    • @StarLightShadows
      @StarLightShadows 3 роки тому

      I would also like to know.

    • @JulianColbus
      @JulianColbus 3 роки тому

      @@StarLightShadows I asked around on Twitter and Reddit, but no luck. You need to make manual changes to library files. Luckily, our shader guy managed to do it already. I'll post about it very soon on Twitter (@digitales_games) if you want to learn more. (:

  • @MrHarry37
    @MrHarry37 3 роки тому

    Is there a way to soften up the shadows?

  • @eboatwright_
    @eboatwright_ 3 роки тому +1

    I can't get the 2d shadows to work. Any help?

  • @shapeshifter8986
    @shapeshifter8986 3 роки тому

    Is there a way to make a 2D Game which uses 2D Lights and a 3D Background for this game which uses 3D Lights?

  • @juicedup14
    @juicedup14 3 роки тому +1

    He didn't go into how lights made bloom
    Can someone explain?

  • @awesomegamedev
    @awesomegamedev 3 роки тому +1

    Looks cool,
    but can you render crisp TextMeshPRO text on top of it?
    Like in Celeste: game is pixel art, but all the text is crisp and clear

    • @stafs
      @stafs 3 роки тому

      Add a second normal camera just for the text?

    • @silevol
      @silevol 3 роки тому

      @@stafs But if you do that, isn't the second camera impacting the performance?
      Because thats a problem I have with my project right now.. And I have performance issues because of the second camera.
      Would be glad if there were a sweet little trick or solution I couldn't see?

    • @awesomegamedev
      @awesomegamedev 3 роки тому

      @@stafs Yeah, it should probably work. I just never used two cameras together.

  • @thereadypunk757
    @thereadypunk757 3 роки тому

    Does everything have to have on resolution? My player is 32 by 32, and my tiles are 16 by 16

  • @mustafasuve3109
    @mustafasuve3109 3 роки тому

    So this enables the lights to work well for 2D games, whereas in 3D, spotlights or point lights couldn't even cast shadows.

  • @muttlymartin2621
    @muttlymartin2621 3 роки тому

    Is it bad if i have my max texture size set to the 8000s scale? 3:44

  • @Gennj
    @Gennj 3 роки тому

    I'm here before 1k views...

  • @HamroTalkingTom
    @HamroTalkingTom 3 роки тому +1

    Wow

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

    I'm getting a massive headache with this. Please help me. I have imported a sprite in unity to use as my background with a resolution of 640 x 480. but when I do it's so tiny compared to everything else, the camera doesn't match and I want to be able to upscale it to 1080p later. In the video everything is at a normal scale of 1:1:1 and he is even using 1080p HD resolution for sprite size lower than me. What am I doing wrong?

  • @anonymoussloth6687
    @anonymoussloth6687 3 роки тому

    can someone explain or link to a video that shows how to achieve the pixelated explosion effect from the shooting in this video? I have been search for this for a long time and i am relatively new to unity so i am looking for it to be beginner friendly

    • @unity
      @unity  3 роки тому +1

      While maybe not exactly the effect in this video, here is documentation on how to create simple explosions: docs.unity3d.com/Manual/PartSysExplosion.html
      Hope that helps!

  • @tmi114
    @tmi114 3 роки тому

    @Unity, any chance to get this project ?

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

    Please relase some Documentation and Examples on how to manually write or adapt pre-existing shaders to URP and the 2D renderer
    As an asset publisher having users demand this features and not being able to provide them is really annoying :(

    • @unity
      @unity  3 роки тому +1

      Hey Geri! Appreciate the feedback! If you haven't yet, please use the Documentation Feedback form (located at the bottom of every documentation page) to share this feedback with our Docs team! Thanks!

    • @geri4367
      @geri4367 3 роки тому

      @@unity Is it possible that this Documentation Feedback from has been deprecated from now and moved to the forums?

  • @dottasov
    @dottasov 3 роки тому

    Do you have a paticle tutorial thx

  • @tyraniusdelten8207
    @tyraniusdelten8207 3 роки тому

    ❤️

  • @mehmeh8883
    @mehmeh8883 3 роки тому

    So these are mobile optimized, right?

  • @PeterMilko
    @PeterMilko 5 місяців тому

    I'm doing this in my game, come look.

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

    How do you make that shadow?

  • @CatDribble
    @CatDribble 3 роки тому

    Why isn't there any software that does this when creating pixel animation, if I was making games this would be great.

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

    it almost looks like noita, but sadly the boxes are not destructable

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

    i swear it doesn't work with 2d lights. i've tried but nothing works. the lights still appear the same :(

  • @honoratojr.palmero4108
    @honoratojr.palmero4108 3 роки тому

    can this cure my depression?

  • @benayamanuel
    @benayamanuel 3 роки тому

    Upgraded my Unity to 2020.2, now my character is super blurry when moving. Any ideas ? Super confused

    • @jmedeirosneto
      @jmedeirosneto 3 роки тому

      Same problem here, did you fixed it?

  • @nosinfantasia
    @nosinfantasia 3 роки тому

    hi anyone knows how to do this laser beam ? some link plz.....

  • @joeysimon3331
    @joeysimon3331 3 роки тому

    Hello there!

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

    in action video is apparently worth the Korean language. This is why I can't get subtitles.

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

    Спасибо.
    Как сделать такой фон?

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

    The word particles is spelt wrong in the thumbnail. It says paticles. You might want to fix that

  • @majnoon1935
    @majnoon1935 3 роки тому

    guys i had a question please help :
    do game developer needs to learn VFX or VFX maker is a different with coder? and
    does VFX need any coding?
    cuase i hate graphic works and love coding
    tnx for you help and sorry for my bad grammar .

    • @anonymoussloth6687
      @anonymoussloth6687 3 роки тому

      vfx is just visual effect your add to your scene to make it "pop" more or simulate any other visual effect you desire. Suppose you are making a horror game where you want to make your whole scene dark and spooky with lights (like torches and lamps) to really pop then this is where it will come in handy. As far as I know, VFX doesn't really require that much coding. Instead you need to understand how lighting, shaders, etc work.

    • @majnoon1935
      @majnoon1935 3 роки тому

      @@anonymoussloth6687 they told me that this work doing something like when somebody shoot a bullets to a wall and it destroys , and i should do this part of work, Are these two one?

  • @omar7altawil435
    @omar7altawil435 3 роки тому +1

    Where is the download link

    • @unity
      @unity  3 роки тому +1

      Sorry, we had a bit of a delay with the Project, it is in the description box now! :)

  • @kevinkelly6756
    @kevinkelly6756 3 роки тому

    Where is dani???

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

    NOPE...
    I can see the pixel art gets distorted.
    I have a work around for all this, it takes a lot of time to implement but the results are much better.

  • @cristiano4826
    @cristiano4826 3 роки тому

    My ui is jittering when it is the child of camera any fix

    • @luis_musik
      @luis_musik 3 роки тому

      rendering the ui as an overlay instead of to the camera should fix

    • @cristiano4826
      @cristiano4826 3 роки тому

      @@luis_musik my parallaxing also jittering after using pixel perfect camera 😪

    • @luis_musik
      @luis_musik 3 роки тому

      might have something to do with script execution order idk

    • @jmedeirosneto
      @jmedeirosneto 3 роки тому

      ​@@cristiano4826 Same problem here, it didn't happen in the 2019 version. Did you fixed?

    • @cristiano4826
      @cristiano4826 3 роки тому

      @@jmedeirosneto I used screen overlay for ui. Somehow I reduced the parallaxing jitter.

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

    the thumbnail says paticles instead of particles

  • @giannisgiakamozis7418
    @giannisgiakamozis7418 3 роки тому

    Dani

  • @bean_mhm
    @bean_mhm 3 роки тому +3

    5:32 Unity's Particle System (Dani's Entire Life)

  • @DanielDaAbadSukarno
    @DanielDaAbadSukarno 3 роки тому +1

    Are unity can beat UE4 or u can't do that?

  • @ROXPLAYZONE
    @ROXPLAYZONE 3 роки тому

    Why brackys quit

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

    Bit lost as this tutorial try to include way many points but none of them is explained well.

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

    How to get 2D light pixilated?

  • @gaminganimator-qp2ir
    @gaminganimator-qp2ir 3 роки тому

    15E

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

    I miss @Brackeys take on things :(

  • @erictr3234
    @erictr3234 3 роки тому

    too late

  • @bamachikaboi
    @bamachikaboi 3 роки тому +1

    “क्योंकि परमेश्‍वर ने जगत से ऐसा प्रेम रखा कि उसने अपना एकलौता पुत्र दे दिया, ताकि जो कोई उस पर विश्वास करे, वह नाश न हो, परन्तु अनन्त जीवन पाए। (यूहन्ना 3:16)
    यदि तू अपने मुँह से यीशु को प्रभु जानकर अंगीकार करे और अपने मन से विश्वास करे, कि परमेश्‍वर ने उसे मरे हुओं में से जिलाया, तो तू निश्चय उद्धार पाएगा। (रोमियों 10:9)

  • @kelleyintegritysafetysolut484
    @kelleyintegritysafetysolut484 3 роки тому

    Until I get what I friggin paid for.... YOU CAN GET READY FOR ME TO SHARE MY EXPERIENCES WITH THE ENTIRE WORLD!!!!

  • @ghouldrago360
    @ghouldrago360 3 роки тому

    Keep the dislike at 0 boiisss