[Released] Grass Physics Shader


Update:
I’ve released my asset on AssetStore
You can buy it here: Grass Physics Asset | VFX Shaders | Unity Asset Store


Hi everyone
I want to share my latest project for Asset Store

Grass Physics Shader is a tool for standard terrain that can simulate grass physics and interaction with meshes using my custom shader.


Features:

  • Easy to use (just few clicks to set up)
  • DirectX 11 is not required
  • Highly customizable
  • Very slight impact on performance
  • You can implement this to your existing project with unity terrain and grass
  • Multiple terrain support
  • Advanced grass material options
  • Two physics modes in one package:
    • Simple physics simulation (more efficient, works on mobile)
    • Full physics simulation (more realistic)


To do:

  • Customizable wind
  • New Rendering Pipelines support

Any comment, suggestion or critics are welcome!

2 Likes

A couple of questions. How is it setup with Unity terrains and are you planning to support LWRP and HDRP?

2 Likes

Hi, thanks for reply.
This package is something like an addition to Unity terrains, it doesnt change anything in it, except replacing its grass shader to my custom, so you can easily use it for your existing terrains.

https://www.youtube.com/watch?v=FjlbNbIrZeA

In first place, I will have to deal with the most urgent things, after that I will implement improvements and features like mentioned render pipeline support. Also, as I mentioned, my asset depends on Unity terrain and from what I know Unity terrain doesn’t support render pipelines yet.

1 Like

LWRP supports Unity Terrains and AFAIK HDRP will have its own terrain shader in U2018.3. For now you can use the multi-layer PBR shader with HDRP. See the [here]( https://discussions.unity.com/t/617937 page-7#post-3582909) and [here]( https://discussions.unity.com/t/617937 page-7#post-3609111).

1 Like

Thanks, I will try to implement this as fast as I can and I will let you know if I will succeed :wink:

Ok , this looks quite cool, I’m looking for something like this for a game I’m almost releasing, but when will it be available, cost? Also can you add separate/multiple objects on the terrain that will displace grass, or is it only the player that does that?

1 Like

Hi, if everything goes right, I plan to release this asset by the end of the year.
As for the price, I think $ 15-20 would be fair.
In “full physics simulation” mode there is an area in which every mesh assigned to defined layers displace grass, what you can see on the above videos.

Cool, any chance of an early version, I’d be willing to test for you, I could use it in my game.

Cool, any chance of an early version, I’d be willing to test for you, I could use it in my game (see link in my sig).

Hi Michal, looks good!
Would it be difficult to make it works on meshes? I’m the author of Ultimate Terrains, a voxel terrain engine, and I think my customers might be interested in your shader if it was compatible.

2 Likes

Hi, I think that it would be pretty easy to make shader for meshes, that would behave similarly to this grass. Most of variables are send globaly to shaders, so it should automaticly work.
Thanks for this idea, for sure I will give this a try.
Regarding compatibility with Ultimate Terrains asset I would need more information about how grass works in your asset, feel free to contact me on “shaded.technology@gmail.com”.

1 Like

Hi, I have done grass physics shader for meshes. Probably I will make some other variants of this shader for other types of lightning and preferences, but as you can see in the video below it works with different meshes.

https://www.youtube.com/watch?v=-tV_HpDs_ak

4 Likes

Looks good! I guess we should exchange our assets so we can give it a try and check the compatibility (maybe I have to do something on my side to make it works). Then we’ll be able to write in the description of our assets that they are compatible between each other (which is always a good thing for customers).

When will this be released? I need this for a project.

Hello,

I am working on my chunk based game. I already saw that meshes will be supported.
In order to save draw calls I have many grasses in one texture atlas.

In every biom there is another grass, and all grasses share the same material this way.

Can your grass shader support a texture Atlas for having multiple grasses in one shared material?

That would be a great feature. I am open for testing and if that works extremly interested :slight_smile:

Thanks.

Any news on release?

I join to the request, do you have a release date or have you abandoned the project? What you have published looks very good and, if it is well optimized, I would be very interested in buying it.

Hi everyone, sorry for that lack of updates from me and late response. I’ve had a lot of work and studying last time and couldn’t work on this project full time. However, in this time I managed to do some refactorization in my code so it could be more modular and customizable. I’ve also made simple tesselation shader that can be used to make dynamic snow or mud.

Also I’ve been working on making custom nodes for shader graph to make it easy making new materials that would support my asset in LWRP and HDRP.


1 Like

(Think Queen theme song here): I want the grass,I want the grass, and I want it now! :slight_smile:

The snow Looks very interesting, too :slight_smile:
Is there a Chance of getting a beta / test Version for testing the grass shader on meshes / chunks?

Thanks.