Skip to content

PhuongPham7112/unity-interactive-grass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unity-interactive-grass

Grass Model

Each grass model is considered a grass field that consists of multiple grass blades.

Grass blade

Each grass blade is controlled by their material. The physics compute shader (PCS) will calculate the position of the tip of the blade of the individual grass. PCS will take in an array of v2 positions, calculate physical model on the grass. It will output the positions.

Once the computation is finished. Hand off the results to the shader pipeline to render the grass.

TODOs

[ ] - How do I get the compute shader value to the vertex shader material?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published