All Projects → Elringus → Grassbending

Elringus / Grassbending

Licence: mit
A replacement for Unity's terrain grass shader with alpha blended rendering and touch bending effect

Projects that are alternatives of or similar to Grassbending

Uieffect
UIEffect is an effect component for uGUI element in Unity. Let's decorate your UI with effects!
Stars: ✭ 3,449 (+768.77%)
Mutual labels:  unity3d, shader
Depthinverseprojection
An example showing how to inverse-project depth samples into the view/world space in Unity.
Stars: ✭ 296 (-25.44%)
Mutual labels:  unity3d, shader
Rdsystem
Reaction-diffusion system with CustomRenderTexture.
Stars: ✭ 271 (-31.74%)
Mutual labels:  unity3d, shader
Contactshadows
Experimental implementation of contact shadows for Unity.
Stars: ✭ 219 (-44.84%)
Mutual labels:  unity3d, shader
Skyboxplus
Basic skybox extensions for Unity
Stars: ✭ 324 (-18.39%)
Mutual labels:  unity3d, shader
Videoplayereffects
Experimental special effects for VideoPlayer (Unity 5.6 new feature)
Stars: ✭ 252 (-36.52%)
Mutual labels:  unity3d, shader
Unity Script Collection
A maintained collection of useful & free unity scripts / library's / plugins and extensions
Stars: ✭ 3,640 (+816.88%)
Mutual labels:  unity3d, shader
Ssgi Urp
Screen Space Global Illumination for Unity Universal Render Pipeline
Stars: ✭ 198 (-50.13%)
Mutual labels:  unity3d, shader
Unitygraphicsprogramming
書籍「UnityGraphicsProgramming vol.1」のサンプルコードリポジトリ
Stars: ✭ 321 (-19.14%)
Mutual labels:  unity3d, shader
Spheredissolve
Customizable procedural spherical dissolve shader for Unity3D, for all your customizable procedural spherical dissolve needs!
Stars: ✭ 311 (-21.66%)
Mutual labels:  unity3d, shader
Noiseball2
A small example of procedural modeling with compute shaders.
Stars: ✭ 215 (-45.84%)
Mutual labels:  unity3d, shader
Water2d Unity
A simple shader + example of a water surface with reflection in 2D
Stars: ✭ 335 (-15.62%)
Mutual labels:  unity3d, shader
Shinyeffectforugui
Shiny effect of uGUI, which does not need mask or normal map.
Stars: ✭ 204 (-48.61%)
Mutual labels:  unity3d, shader
Excel2unity
一个为Unity3D编写的插件,可以快速地将Excel文件转换为JSON、CSV和XML
Stars: ✭ 255 (-35.77%)
Mutual labels:  unity3d, plugin
Unity Shaders
✨ Shader demo - More than 300 examples
Stars: ✭ 198 (-50.13%)
Mutual labels:  unity3d, shader
Hisocket
It is a lightweight client socket solution, you can used it in C# project or Unity3d
Stars: ✭ 275 (-30.73%)
Mutual labels:  unity3d, plugin
Water Shader
Procedural water shader for general use.
Stars: ✭ 183 (-53.9%)
Mutual labels:  unity3d, shader
Isaura
An attempt at making a aura thingie with a isoline shader.
Stars: ✭ 187 (-52.9%)
Mutual labels:  unity3d, shader
Standardgeometryshader
An example of a geometry shader with Unity's standard lighting model support.
Stars: ✭ 303 (-23.68%)
Mutual labels:  unity3d, shader
Klakspout
Spout plugin for Unity
Stars: ✭ 332 (-16.37%)
Mutual labels:  unity3d, plugin

Installation

Use UPM to install the package via the following git URL: https://github.com/Elringus/GrassBending.git#package or download and import GrassBending.unitypackage manually.

Description

The package contains a shader used for billboarded terrain details with waving and bending support and components to provide the required bend data to the shader.

How to use

Paint grass on the terrain. Make sure the grass is billboarded (it will use a default shader otherwise).

Add a BendGrassWhenEnabled or BendGrassWhenVisible component to a gameobject that should apply the bend effect when positioned over the grass.

BendRadius controls the radius of the bending sphere with center being the pivot of the gameobject.

Priority is used to control the bending source priority; when concurrent bend sources limit is exceeded, benders with lower priority values will be served first.

You can also add your own implementation of the IGrassBender interface instead of using the built-in bender components.

The bending grass shader replaces Unity's default Hidden/TerrainEngine/Details/BillboardWavingDoublePass shader used for the terrain grass when Billboard option is enabled. It additionally allows to control the wind waving and bending power via the healthy/dry color tint alpha; when alpha of the both colors is zero, the wind and bending won't affect the grass at all.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].