https://github.com/gameidea-studio/3d-grass-shader
Interactive grass shader code
https://github.com/gameidea-studio/3d-grass-shader
3d-graphics grass shaders
Last synced: 15 days ago
JSON representation
Interactive grass shader code
- Host: GitHub
- URL: https://github.com/gameidea-studio/3d-grass-shader
- Owner: gameidea-studio
- License: mit
- Created: 2023-12-03T16:32:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-07T11:25:33.000Z (over 2 years ago)
- Last Synced: 2025-10-17T13:44:45.703Z (9 months ago)
- Topics: 3d-graphics, grass, shaders
- Homepage: https://gameidea.org/2023/12/03/3d-grass-shader-with-distortion-wind/
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 3D Grass Shader
I have written a tutorial of how to implement this on my [3d grass shader](https://gameidea.org/2023/12/03/3d-grass-shader-with-distortion-wind/) post. In this shader, player can interact with the grass. The grass blades tilt when player is standing on them. Also, it has wind & you can control the intensity of it.
## Breakdown
1. Majority of part right now is vertex shader.
2. I have not put much effort into fragment shader, but you can make it look uch better by implementing a good grass fragment shader.