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”
- 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
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)
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
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.
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).
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)
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.