Unity URP - Underwater Effect Renderer Feature

Поділитися
Вставка
  • Опубліковано 14 бер 2024
  • (⚠ This effect will only work properly in 3D games. And It will only work in URP.)
    If you wish to apply this effect to your game or video, please let me know in advance.
    You can contact me through UA-cam or Discord.
    Discord : paro456d
    GitHub : github.com/Parrot222/Unity-UR...
    Patreon : / paro222
    Caustics Tutorial : • Unity URP - Simple Cau...
    Water Shader : • Unity Water Shader Par...
    The script for the renderer feature is primarily based on the examples provided in the following websites:
    www.cyanilux.com/tutorials/cu...
    samdriver.xyz/article/scripta...
  • Ігри

КОМЕНТАРІ • 50

  • @paro456
    @paro456  4 місяці тому +5

    Hey everyone, sorry if the video feels a bit rushed, I didn't spend much time editing it. If you have questions, just drop a comment and I'll get back to you. And remember, give me a heads up if you want to use this underwater effect in your game. It's no trouble, but I'd appreciate it.☺🤝

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

      how much time it took you to build this...be real

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

      I spent three days creating the scene and models, and one day editing this video.

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

      @@paro456 that's around 20hours for creating the scene...good work!

    • @harharrr9810
      @harharrr9810 3 місяці тому

      hi i would like to use this underwater effect in my game thankyou

    • @paro456
      @paro456  3 місяці тому

      @@harharrr9810 sure

  • @chenlucy4103
    @chenlucy4103 3 місяці тому +2

    Hey Paro, We love the resources you've created. We need to create a game as homework, the topic is related to spongebob, So we think your under water effect will be the perfect match to our game. We have cited the youtube link to the assets we use. And it is the best series I could found in UA-cam.

    • @paro456
      @paro456  2 місяці тому +1

      Good luck with your project! ;)

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

    cool effect 😮

  • @sangsangwoo378
    @sangsangwoo378 4 місяці тому +3

    awesome!

  • @user-qc1sw4fz5w
    @user-qc1sw4fz5w 4 місяці тому +1

    You are the best!!!

  • @265Den
    @265Den 3 місяці тому +1

    Идеально. Спасибо

  • @Michael_Sydney
    @Michael_Sydney 2 місяці тому +1

    Hello, Mr.Paro. I really like your tutorial of the underwater effect. But I encountered some errors when importing the package to my default new project. Could you help me to solve it? Thanks in advance. My unity version is 2022.3.20.

  • @LucasPabloAlonso
    @LucasPabloAlonso 3 місяці тому +2

    Super useful! Btw, the objects are rendered within its borders instead of affecting the whole scene, and the 2D background is not even modified, any ideas? Thank you in advance!

    • @paro456
      @paro456  3 місяці тому +1

      2D objects don't have depth, so they won't be affected by this effect. If there are other objects in the scene not affected, it might be because they're transparent materials. You can switch the Render Pass Event to After Rendering Transparent.

  • @yuunaito2120
    @yuunaito2120 Місяць тому

    Hi, you're doing great works. If i may to ask, how do you create seaweed animated ?

    • @paro456
      @paro456  Місяць тому

      I use the sine node to control vertex displacement to simulate seaweed animation.

  • @PRodi_
    @PRodi_ 4 місяці тому +3

    Thank you so much! This effect looks fantastic. However, I've encountered an issue where it's not functioning properly in VR with multiview after building for Meta Quest 3. Do you have any potential solutions for this problem?

    • @paro456
      @paro456  4 місяці тому +2

      Since I don't have the Meta Quest 3 at the moment, it would be helpful if you could provide some screenshots or videos of the problem for me to better fix it.

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

      @@paro456 There's no need for screenshots or video capture. After building for Meta Quest 3 with the Multiview option enabled, I see only gray in my left eye and black in my right eye.
      This can be fixed by switching the XR Plug-in Management in Oculus Stereo Rendering Mode from Multiview to Multi-pass in the Inspector window. However, this workaround reduces performance.
      Therefore, my question is: is it possible to achieve compatibility with Multiview for optimal performance?

    • @tinacruzart
      @tinacruzart 3 місяці тому

      Im having the same problem

  • @besharma3399
    @besharma3399 24 дні тому +1

    how to remove this effect in another scene becasue it is now showing on all of my different scenes

    • @paro456
      @paro456  23 дні тому +1

      Go to your Settings folder, find your renderer, duplicate it, then remove the underwater effect.
      go to the URP-HighFidelity (probably this name) file, click on the renderer list on the inspector, add this renderer without underwater effects.
      Finally, go to your camera and replace the renderer with the one without underwater effects.

  • @REZSTUDIOSOFF
    @REZSTUDIOSOFF 4 місяці тому +2

    But how can I find the settings folder, for some reason I don’t have it? (I am newbie)

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

      1.Make sure you're using the URP pipeline.
      2.It's okay if you don't have that folder. Just find the renderer file used by the camera.

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

      @@paro456 how do I find the renderer file used by the camera? And why do I have a Renderer in the Main Camera - not (URP-High Fidelity-Renderer), but (URP_Renderer)? (I use google translator)

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

      @@REZSTUDIOSOFF 1:26 The name is displayed inside the parentheses after Default Renderer. Try searching for it in the asset folder.

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

    Hi, I know it’s not showcased in this video, but do you have any advice on creating transparent water so you can partially see the skybox through it? I dont know why but I cant find anything specifically on it for URP, any help would be appreciated, maybe a link to a shader tutorial even

    • @paro456
      @paro456  4 місяці тому +2

      My channel has some tutorials on water surface shaders. If you're interested, you can discuss more details with me through Discord.
      Discord : paro456d

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

      @@paro456 thanks man, I think i was trying to just find a material and download it but im willing to make the shader, I had to recently for bubbles so I’ll have a look and see if I can get it done without having to waste your time, I appreciate the offer in case im still struggling :)

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

      @@paro456 Update: after watching your shader tutorial, I have fallen in love with you. Its got exactly what i needed, genuinely you make the most easy to follow unity tutorials I’ve seen, thank you so much

    • @paro456
      @paro456  4 місяці тому +2

      @@JApl1n I'm glad you like it.😀I'll reply during my free time, so it won't be a waste of my time, don't worry.

  • @rogueengineer6006
    @rogueengineer6006 3 місяці тому +1

    Quick Question: How do I implement the underwater effect for the sprites. I created a URP 2D from the Rendering tab under Create section. Then I added SSAO and UnderwaterEffects, but it's not working

    • @paro456
      @paro456  3 місяці тому +1

      Since this effect relies on the depth texture for implementation, and sprites not have depth values, they won't be affected.

    • @rogueengineer6006
      @rogueengineer6006 3 місяці тому +1

      @@paro456 I used Unlit Transparent Cutout, and it works on materials that uses png textures. Anyways, thanks for the big help. Appreciate it

    • @rogueengineer6006
      @rogueengineer6006 3 місяці тому

      There is another issue! My fish is moving on X and Y Axis, at a certain position, the entire lighting goes dark. I've checked with various other gameobjects by turning them off, but when I turned off this render feature, it solved the lighting issue. When my fish moves to the right, the light is good, but as soon as my fish turns left, like it faces the other direction, the lighting goes dark. The effect stays there, but the lighting goes dark

  • @GALAXYSTUDIOSOFF
    @GALAXYSTUDIOSOFF 2 місяці тому

    Hello, Could you send me the project in the video? It’s possible without a map, I just can’t do it.

    • @paro456
      @paro456  2 місяці тому

      This effect can be used in any URP game scene. If you have more questions, you can ask me on Discord.

  • @juliansotobadillo245
    @juliansotobadillo245 16 годин тому

    I could use it in a VR project for Oculus Quest 2?

    • @paro456
      @paro456  2 години тому

      I'm not sure if this can be applied to VR devices. If you run into any issues, let me know.

  • @rogueengineer6006
    @rogueengineer6006 3 місяці тому

    Quick Question: In my URP Settings, I can't find the "Underwater Option" under ADD RENDERED FEATURE

    • @paro456
      @paro456  3 місяці тому

      What version of Unity are you using, and which version of the underwater effect did you download?

    • @rogueengineer6006
      @rogueengineer6006 3 місяці тому

      @@paro456 I'm using 2021, and I downloaded both.

    • @paro456
      @paro456  3 місяці тому

      @@rogueengineer6006 Did you find the inspector that looks like the one on the right at 1:35 in the video?

    • @rogueengineer6006
      @rogueengineer6006 3 місяці тому

      Yes I did

    • @paro456
      @paro456  3 місяці тому

      ​@@rogueengineer6006 Have you place the files in any location within your asset folder? And did it show any error messages?