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 - Ігри
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
This is super cool :)
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
8:45 lol
can I get the fully modified effect shader and effect.cs? Your github project only has the base
You can download it in github. I renamed it to VolumetricClouds.cs
@@paro456 thank you, now another question I have is can I make it get effected by other lights like point lighst or spotlights?
@@officalffagames5144 This cloud does not include volumetric lighting features. You might need to look for more tutorials on this topic to learn.
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)
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.
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
What version of unity are you using?
@@paro456 2021.3.29f1
@@rehyotaku Can you send me some screenshots on Discord? It'll make it easier for me to help you.
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
I have put a GitHub link in description and uploaded all the files there. You can download them from there.
@@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
@@checkmate8015 Sorry, I don't have a Unity 6 version of the shader because I'm using an older version.
@@paro456 would you mind making a unity 6 version please, im willing to compensate on the 25th, you can send it after I compensate
@@checkmate8015 I previously made a post-process version. If you need it, I can make some modifications and let you test it.
quick question man. How to make it below the player?
Do you mean to let the cloud follow the player?
@@paro456 no. I want to make floating island. But the material keep rendering pass through of the material.
@@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.
@@paro456 ok. I'm gonna join the discord.
@@paro456 what is the dc?