Night Vision the RIGHT Way | Unity Tutorial

Поделиться
HTML-код
  • Опубликовано: 20 сен 2024
  • Learn how to create a night vision effect in Unity without shaders that even works in complete darkness, just like Splinter Cell.
    SUBSCRIBE
    Subscribe for more game dev tips and tutorials: bit.ly/3edJUA5
    CODE
    NightVisionController: pastebin.com/H...

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

  • @tomaterasu700
    @tomaterasu700 2 года назад +10

    Wonderful work! People like you deserve much more recognition for sharing knowledge in such a simple and easy follow way. Great job!

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

    Simple, short and to the point videos without adding any unnecessary details. I would love to see more from you.

  • @blackoutalt2339
    @blackoutalt2339 Год назад +1

    looks awsome!
    just some little bits of info from someone who has night vision that might help someone if they want to make realistic night vision in a game:
    1. light blooming: light sources apear much brighter under nods, like staring at the sun bright.
    2. focus: nightvision is always focused to a distance that you choose, most people focus it to a long distance to see most things clearly, but this means that anything within a few feet of you will appear blurry and out of focus.
    3. Blems: many used night vision devices have blemishes on the tube, appearing as small black dots and blotches in your view.
    4. Colors: theres actually a number of different colors for night vision: Green Phosphor, White Phosphor(blue), and Amber(slightly more yellowish green)
    Idk if this will ever help anyone but i just thought to spread some of my knowlage just incase it could be usefull to anyone :)

    • @JamesMakesGamesYT
      @JamesMakesGamesYT  Год назад +1

      Thanks for the extra info! For anyone reading this comment, here's how you can achieve this by changing your post processing profile:
      1. Light blooming: Add Bloom and tweak the threshold and intensity values until you get the desired effect
      2. Focus: Add Depth of Field and tweak the start and end values
      3. Blemishes: Add a dirt texture to the Bloom effect
      4. Colour: Adjust the colour grading profile to match the different colours
      Just out of curiosity, does it make a noise when they're turned on, or is that just in the games? :D

    • @blackoutalt2339
      @blackoutalt2339 Год назад +1

      @@JamesMakesGamesYT i wish it made the noise, sadly it doesnt. but on much older night vision like the soviet PNV57, the battery pack does make a slight whine sound :)

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

    Short sweet epic unity tricks... keep em coming!

  • @umapessoa6051
    @umapessoa6051 2 года назад +4

    Here before 50 subscribers, soon you'll have 50k

  • @sadiqabbaszade4789
    @sadiqabbaszade4789 2 года назад +2

    Nice tutorial! Can you make a video about getting high performance realistic lighting for a mixed movability scene (both static and non-static objects in scene). What I mean is performance efficient lighting, not just all realtime lights. There are a lot of features like light probes and stuff, but I don't know how to use those features to get good lighting quality of UE with good performance.

  • @PedroBoris-ws6ks
    @PedroBoris-ws6ks Месяц назад

    Thank you so much it's so easy and help me a lot of in my project

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

    Gran trabajo 👌 más adelante pondré en práctica muchas gracias saludos desde Argentina

    • @sebitaxd1970
      @sebitaxd1970 Год назад

      como te fue bro? terminaste el proyecto?

  • @sealsharp
    @sealsharp 2 года назад +2

    Correct me if i'm wrong, but this won't work with baked lights as the ambient light is already baked into the lightmaps, doesn't it?

    • @JamesMakesGamesYT
      @JamesMakesGamesYT  2 года назад +2

      Good question! I'm not 100% sure as I haven't worked with baked lights before, but I'll have to try it out with baked lighting in the future

    • @LetsPlayAceCraft
      @LetsPlayAceCraft Год назад

      Sadly you are correct.

  • @NeoAArmy
    @NeoAArmy 3 месяца назад

    So, with mine, It somewhat works. The keybind works, etc etc. shows green in editor, HOWEVER, When actually playing on that map, pressing N doesn't make the camera lens go green, it just brightens up the world a little. Any reason on why?
    nvm I broke it even more, upgraded to urp and it doesn't even show anything now.

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

    Grazie, video interessante

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

    More of these please

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

      I have some more videos on the way! What other topics are you interested in?

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

      @@JamesMakesGamesYT My favorite videos have to be the ones on how to optimize your code

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

    Don't get me wrong- this is a great video, well explained- but "Night Vision Right Way", there is no "right way" for aesthetics :D

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

    Good video but i have a question.. if game is multiplayer, the ambiente light is changing for all players?

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

    how come just tinting the scene green is the "RIGHT" way? i don't even wanna know what the wrong way is then

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

      This tutorial also includes changing the lighting so you can see in dark areas

  • @holyscorpion1006
    @holyscorpion1006 Год назад

    For some reason the nightvision affect isn't applying to my camera, I'm using HDRP so I don't know if that could be why. As when I added the Color Grading feature it never changed everything to green

    • @JamesMakesGamesYT
      @JamesMakesGamesYT  Год назад

      Interesting, if you go to your main camera, can you double check if the post processing checkbox is checked?

    • @holyscorpion1006
      @holyscorpion1006 Год назад

      @@JamesMakesGamesYT I couldn't seem to find a check box for post processing. I do know the cameras in HDRP are quite different from URP cameras as the HDRP cameras are like physical cameras you can everything you could change with a real life camera so I don't know if that's why it could not be working like maybe something in the settings but I'm sure I'll figure it out

  • @Ifjdjojdjxoxlsh
    @Ifjdjojdjxoxlsh Месяц назад

    what if i have other post effects, will it turn those off too

    • @JamesMakesGamesYT
      @JamesMakesGamesYT  Месяц назад

      I think if you create a separate post processing profile for general effects and night vision, then they wont affect each other

    • @Ifjdjojdjxoxlsh
      @Ifjdjojdjxoxlsh Месяц назад

      @@JamesMakesGamesYT oaky thanks

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

    Pl make more toutorual on how ti make games

  • @SuperCaitball
    @SuperCaitball Год назад +1

    Night Vision the WRONG Way. Doesn't work with baked lighting, and is completely unrealistic.

  • @ChadGatling
    @ChadGatling Год назад +1

    This is HDRP only