Creating Volumetric Clouds in Unity URP. (Based on Sebastian Lague's Cloud Video)

Поділитися
Вставка
  • Опубліковано 28 кві 2024
  • I spent a lot of time making this video. At first, I edited one, but it got too long and boring. So, I made a better, shorter, and more interesting version from scratch. Hope you like it!
    Links
    Sebastian Lague's Cloud Video : • Coding Adventure: Clouds
    Github : github.com/Parrot222/Clouds-URP
    You can contact me through UA-cam or Discord.
    My Discord : paro456d
    My Patreon : / paro222
  • Ігри

КОМЕНТАРІ • 29

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

    Hey everyone, I recently started a Patreon account. I'll be posting some simple game resources or things I'm too lazy to turn into videos there. subscribe if you're interested!
    link : www.patreon.com/Paro222

  • @EpicGamer63637
    @EpicGamer63637 16 днів тому +1

    This is super cool :)

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

    I was struggling with that dang color part, when I found out by asking chatgpt for some help to make a float4 _color; you never mentioned it so i was really confused

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

    8:45 lol

  • @officalffagames5144
    @officalffagames5144 15 днів тому +1

    can I get the fully modified effect shader and effect.cs? Your github project only has the base

    • @paro456
      @paro456  15 днів тому

      You can download it in github. I renamed it to VolumetricClouds.cs

    • @officalffagames5144
      @officalffagames5144 15 днів тому

      @@paro456 thank you, now another question I have is can I make it get effected by other lights like point lighst or spotlights?

    • @paro456
      @paro456  15 днів тому

      @@officalffagames5144 This cloud does not include volumetric lighting features. You might need to look for more tutorials on this topic to learn.

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

    oh... it seems you miss some part of old video where explains how to add texture to effect and bound limits fileds. I mean 3:39 has no fileds for that in inspector and 4:05 you already setting up black box with those fields(at 5th minute of video you show about min/max boundaries but there is still no info about adding texture)

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

      Sorry, the original video was 20 minutes long, so I cut out parts that I thought were boring, which might make it seem like some clips are missing. At 4:05, I think I showed part of the result first and then explained how to achieve it.

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

    Hi! Thank you for your video. but can help me with this? This is the error Im getting and I don't know which script is this related to? where is the original method for override?
    Assets\Clouds-URP-main\VolumetricClouds.cs(180,26): error CS0115: 'VolumetricClouds.SetupRenderPasses(ScriptableRenderer, in RenderingData)': no suitable method found to override

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

      What version of unity are you using?

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

      @@paro456 2021.3.29f1

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

      @@rehyotaku Can you send me some screenshots on Discord? It'll make it easier for me to help you.

  • @JoeShmoe-ii1th
    @JoeShmoe-ii1th Місяць тому

    hello man i appreciate the hardwork, however this does not work with Unity 6 preview, it says RenderTargetHandle is Deprecated in favor of RTHandle also says ScriptableRender.cameracolorTarget is obsolete,. i tried fixing it, even tried AI but to no avail . do you mind sharing an Effect.cs for unity 6? even if is patreon

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

      I have put a GitHub link in description and uploaded all the files there. You can download them from there.

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

      @@paro456 so that works for Unity 6 too? because when I did it on unity 2022 everything is perfect but Unity 6 nope it gives an RTHandle error like he said

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

      @@checkmate8015 Sorry, I don't have a Unity 6 version of the shader because I'm using an older version.

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

      @@paro456 would you mind making a unity 6 version please, im willing to compensate on the 25th, you can send it after I compensate

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

      @@checkmate8015 I previously made a post-process version. If you need it, I can make some modifications and let you test it.

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

    quick question man. How to make it below the player?

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

      Do you mean to let the cloud follow the player?

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

      @@paro456 no. I want to make floating island. But the material keep rendering pass through of the material.

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

      @@joelkanna3563 Do you have any screenshots, or can you send them via discord? I'm not sure what you mean by pass through of the material.

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

      @@paro456 ok. I'm gonna join the discord.

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

      @@paro456 what is the dc?