3D Custom Dynamic Clouds - Extension for 3D Atmosphere

Custom 3D Dynamic Clouds V.2

3D Dynamic Clouds is an extension for the Pulsarnova’s 3D Atmosphere because the default roblox clouds dont work with the 3D atmosphere.

This module/script or whatever you want to call it, uses Roblox’s Editable Images API to generate an unique texture for the clouds in runtime.

you can change the settings in the CloudsServer script, and of course you can modify theese in runtime too!


when you play the game this script creates a new folder named Clouds with all the settings as values that you can modify (so if you want to modify the cover, you do workspace.Clouds.Cover.Value = number)


Important things to know

To use the Editable Images API you have to enable on the Security tab of your Experience’s game settings the “Allow Mesh/Image API”


You have to be a certified 13+ years old to use those APIs!

- Also…
This module uses a modified version of the 3D Atmosphere module
What did I change?

I changed the Atmosphere part mesh id to support the texture and I added brightness changes based on the clouds cover/density


About the texture update speed…

Both the noise calculations and pixel writing are not very performant and can cause lag if “called” too much. This is why I had to add a lot of waits that make the whole thing slower, but still pretty fast for most use cases.

I want it to be faster! What can I do?
you can modify these 2 numbers in the CloudsClient script
image


Get it!

https://create.roblox.com/store/asset/76427318294507

or if you want to see it in action
Atmosphere Clouds showcase - Roblox
clouds_place.rbxl (107.3 KB)


Any questions?
feel free to ask down there!

16 Likes


Asset is private?

3 Likes

my bad… now its public. Thanks for letting me know!

3 Likes

Would it be possible to make it so the showcase place is open sourced? Thanks.

2 Likes

Sure! Here’s the download link (I’ll add it to the first post too) →
3D Dynamic Clouds place.rbxl (97.5 KB)

1 Like

Hello, with this i can make Storm clouds?

1 Like

not in this version, but I’ll be making a new version possibly in the next 2-3 days that adds a new “clouds height” value. Currently they are pretty flat. (also dw I *wont* be stacking decals for that “3D” height effect)

1 Like

Could you make it independent in the future? I am not interested in 3D atmosphere…

Edit: 3D atmosphere is outdated, has a messy codebase and removes the fog effect which is crucial in my game.

1 Like

yeah, but meanwhile you can just copy the atmosphere model in the workspace from runtime to studio and then deleting everything except the “Atmosphere” part, then change its transparency to 0.99

The atmosphere is also breaking the cloud effect…

Edit: You can see the clouds being cut off.

have you tried doing that ^^^^
(EDIT: delete also the 3d atmosphere script after that)

Yes i have and i ended up using BlockMesh

You can also scale down the special mesh in the properties if it goes outside the render distance

this is really awesome to have as lighting as I like how the skybox looks and changes, clouds look pretty bad though and I’d recommend trying to find a way to mix-match 3d atmosphere with roblox atmosphere and clouds.

1 Like

yeah I know that the clouds look bad, but I’ll make a second version possibly this/next week adding some 3D-looking clouds with custom height (faked into a 2D image).

1 Like

That would be pretty good but I am saying that this would be pretty revolutionary if it was somehow compatible with roblox’s atmosphere and clouds, this is the main problem with it and fixing it and somehow making it compatible would posssiiibly make this the best lighting there ever is on roblox?

if that’s what you mean, 3D Atmosphere cant support the default roblox clouds/atmosphere instances, that’s because 3D Atmosphere creates a big sphere around the player so everything outside of that will not be visible (reason the clouds and skyboxes dont show up)

Version 2 is out!

What did I add?

I added two new variables to customize! The first being the Type which can be “Volumetric” or “Flat”, then the cloudHeight which determines the height of the volumetric clouds. For higher values its recommended to edit the layers variable inside of the CloudsClient.

Enjoy the update!


(btw the video is sped up)

2 Likes