Help with scripting dynamic clouds

Hello, I need help with scripting a cloud system for decorations for my game by using billboard GUIS as for clouds. It will be nice if someone send me tips or how to do it please and thank you.

2 Likes

Why not just do this:
image
?

5 Likes

I won’t use the built in Roblox clouds because they don’t look 3D. Keyword: Billboard GUIS

Dynamic Clouds, and in the sense I believe you want, are volumetric yes?
Skibidi Clouds, An attempt at fully volumetric 3d cloud in roblox - #7 by tin_nim
(This is some sort of shader I believe)

I believe this one would help you the most.

For reference, I’d avoid using billboard guis for a large amount of instances due to the amount of drawcalls involved.

Adding onto what @DurinzTheThird_2 said, using Billboard GUIs for a volumetric cloud system is like killing your FPS

Here is why it’s a bad idea:

  • Every single Billboard GUI on screen takes up its own draw call.
  • Roblox’s UI rasterization is very heavy; having hundreds of Billboard GUIs overlapping and dynamically resizing as you move will easily drop your frame rate down to unplayable levels on mid-tier devices

What you should do instead:
If you hate the built-in clouds and want true 3D volumetric clouds you can fly through, look into these two methods:

  • You can create a script that spawns large, semi-transparent smoke particles around the player based on a noise map.
  • Use double-sided MeshParts for the cloud bases, and add static ParticleEmitters inside them to ‘fuzz out’ the edges so they look soft when you fly near them."

You can also check this out: https://www.youtube.com/watch?v=qfZmDuiHecc

Yeah that’s what I want but the thing is I’m trying to make the same thing using billboard GUIS. I’m trying to replicate those billboard GUI clouds that storm chasing games have like that one game called “RTS” or “CHASED” something more like this:


The games that described when I replied to another person is that those games use Billboard GUIS and they run smoothly for me mobile and computer so I just wanna try using Billboard GUIS anyways

If you prefer to use Billboard GUIs, you can achieve smooth performance across devices by optimizing them properly by these steps:

  • Use a few massive Billboard GUIs rather than many small ones
  • Set a MaxDistance so distant clouds stop rendering and save memory..
  • Adjust the ZOffset on each GUI to prevent texture Z-fighting.
  • Set LightInfluence to 0 so the engine skips heavy lighting calculations.

these properties will give you the nice aesthetic while maintaining performance.

1 Like

Thank you bro but the thing is I also need help on scripting the actual system. This helpful thank you.

Are you good at scripting? It depends how well you understand Luau.

You can use the Roblox Documentation to find help like this:

https://create.roblox.com/docs/reference/engine/classes/BillboardGui

I’m not good at scripting only at building