Water Foam Question

Hi, I was wondering is there any way to recreate this on roblox, I found this cartoony water foam on google.

alex-vinogradov-gif

5 Likes

you could just add a part with the effect next to the part causing the “water foam”

1 Like

Yeah but creating the effect itself in studio

Upload a video of it, if you can make a video of it you can upload it to roblox and then have what you want to have the foam in the centre, the only issue might be water sort of crossing over it but if you make the water flat using wave size it should be fine

1 Like

He can’t because no one can upload custom videos to the library. Only approved developers and ROBLOX staff can upload videos.

3 Likes

get the textures, and use a loop to change transparency

3 Likes

Really? lame, well a flipping thing made with decals would work too

1 Like

Unless Roblox created and released a way to have decals show on a surface. Meaning that no matter where you place it, the decal will always be rendered on the surface similar to UE4 decals… then this won’t be possible.

You can get hacky and get close to it, but at the end of the day, the decal will never be on the surface and not floating in space. That doesn’t mean you can’t get a solution that you’re happy with. But it might take a lot of work.

Been requesting water to be overhauled forever. It’s so limited. It’s so… boring. You can’t get the height of the water, you can’t get special effects or huge waves. The buoyancy is separate from the visual mesh of water. It stands out like a sore thumb when compared to other things. If you added dynamic weather the water wouldn’t react. Wind or fog effects that you add and manage to make look good. The water stands out by not moving. It’s lifeless. With that being said any object you make that’s supposed to have a player be inside of or traverse on top of water… the water actually can be seen through the part. And the only way to fix this currently is using glass to make the water disappear.

That’s not recommended though. So all in all. It’s the worst part of Roblox IMO.

4 Likes

Could get like a super detailed thing with like a mesh flipshow if they make like a hundred meshes

The easiest solution tbh is just to have access to the shader for water. Since then you would move the load from CPU to GPU.

Because of Roblox’s limitations (ie lack of shaders and procedural materials), to achieve this automatically based on geometry is not possibly by default, unless you wanted to do something hacky with advanced math, you are out of luck.

But, I can tell you how to make the foam effect without getting extra hacky

Particle systems in engines like Unity3D support a function that changes the texture of a particle over time. Typically this is done with a sprite sheet.

A sprite sheet is just a big texture that has a lot of smaller images on it arranged in a grid, and we cycle through those images, one for each frame, instead of having to upload a ton of different images. The only drawback is that on Roblox we’re limited to 1024x1024 images, unfortunately, and this means that unless you wanted to go low res you would need to upload multiple images.

Alternatively, if you only have a few frames, say 15, you could just upload them and switch between them.

Now the problem is that regardless of all this, Roblox currently has no way to use sprite maps with particles or other effects.

Two options come to my mind:

  1. Make your own particle system
  2. Place an image at the base of intersection between the floating object and the water and cycle through a premade animation.

My recommendation would be #2. In this case you could take or make a simple foaming animation (you will want something that loops seamlessly) and continually update

As a side note, if Roblox ever starts letting us upload videos, you can go ahead and do that instead.

As for how to actually make that animation, you could make one if you know how, hire someone, or find one that is free online for another engine. Again, called sprite sheets you’d probably see something similar to this.

Another way you could do this:

If you don’t want to get your hands messy with complicated math or trying to make a spritesheet, you have another option.

Roblox recently released an orientation for particles. This means we can now have particles face upwards and not to the camera for example. While you won’t be able to update it’s texture, you will have access to color, transparency, rotation, size, and be able to adjust little ripples over time.

Here is an example of this, pay attention to the circles on the ground.

Hope this helps.

8 Likes