- Age / Gender:
- 20, Male
- Location:
- Blacksburg VA
- Joined:
- 3/23/08
- All Stats >
User Statshot
- Community Stats
-
Level 8 Blank Slate
-
Normal Whistle
-
Ranked as Town Watch
Contact Info / Websites
Latest News
Grass Shaders
5/25/09 by Maxwelldoggums
So I started writing the shader for the grass on my terrain generator. So far it uses a shell system, but I'm hoping to incorporate fins to make it look better from up close. It's a 10 pass shader ( CRAZY INEFFICIENT) that renders the base texture blended surface, and 9 separate shells extruded outwards from the mesh. So far it looks good, but I'm still working on making it draw grass in different densities depending on the altitude of the terrain, so that cliffs won't have grass on them.
The good thing about using a shader for drawing blades of grass, is that it doesn't drastically increase the polygon count, and (if written correctly) will look good from any angle, whereas if you were using flat billboard meshes, the blades of grass might be in a perfect line and look flat from the sides.

Recent Game Medals
Total Medals Earned: 775 (From 118 different games.)
Latest Movies
Latest Games
Favorite Movies
Favorite Games
Favorite Audio
| Endure (Ambient) | Ambient Loop | |
| Operation: Evolution | Techno Song | |
| Surface | Techno Song | |
| B0UNC3 - Here we go (2:51) | Dance Song |