Interactive Stylized Grass

Would it be possible to create interactive and optimized moving grass like this in Roblox Studio?

3 Likes

Windshake is an optimized module for having wind effects so grass can move.

1 Like

That is only one part of what I want, what about the whole look, because the current “Decoration” option in Roblox studio is very bland and has little to no customization to it.

1 Like

yeah you could totally make this, probs start with a local script in the character, that analyses the terrain surrounding the character then creates animates and deletes grass models as the character moves…
So i guess use the terrain ReadVoxels function with the characters position being the positional input.
Then in the voxel data seach for voxels that have an empty space ubove then and are made of grass material. Then you use this data to position your new grass model.
Then you can handle wind by keeping track of all these placed models and animate them based on whatever the wind is doing…

2 Likes

I’ll tell how I make custom grass for my games.

  1. I steal pbr grass mesh with pbr textures and stuff from somewhere, and import it to roblox(there’s also plenty of pbr grass in toolbox, I suggest you to not make it yourself.).

  2. I turn off collisions and shadows for that grass, I add the windshake tag (windshake module handles it and makes it sway just like it’s windy. It has plenty of parameters to make it customized, so high quality stuff amirite??).

  3. I use brush tool to paint grass anywhere I want.

I don’t make it interactive like it gets smashed when you step on it. If I would make something like that I would use surface gui (or static particles) because they always face the player and when you walk on them they kinda go around you. It may not be great but a non-script solution.

I hope this helps buddy.

Here’s what I’ve done with those steps. (also footage from my old project)


Looks dope I guess, but not recommended for DENSE grasslands (I tried it , computer killer)

5 Likes

I’d say so, my take on it would be to create clumps of grass models and each grass blade having a few bones in it that are procedurally animated based on a few factors such as wind and time.

Generally, this would be relatively expensive for performance so you’d also have to make sure you only update grass bones that are in the camera frustum.

2 Likes

Roblox is very unoptimized for large amounts of models. Maybe grouping a large model of grass and just deforming that with bones would be optimal. Maybe even using a wave function to sort of add sway across the wide area of grass, which is actually a single model

2 Likes


Yes.

3 Likes

FPS: 16?

Do you have anything that doesn’t eat up that much of your frames?

i capped my fps to 15 here i got bored also it runs amazingly in roblox client more than studio

1 Like

it’s very performant because the models itself are only 25 poli’s and another version that has 13 poli’s. this grass i made is not very finalized so i might make another version sometime later.

true, but its the only thing we got close to actual grass. there’s a developer thats currently making a interactive grass system but it’s still not open sourced at the moment.

Could you link the developer if he has posted any progress?

It’s been really 3 years since the introduction of this technology, I guess he’s gatekeeping his system, You can always make your own system if you have any scripting knowledge and modeling knowledge.

1 Like

it’s easy to make your own pbr materials, why not?

1 Like