Be a Supporter!

MaxwelldoggumsMaxwelldoggums

Main News Movies Games Favorites Reviews Stats 140 Fans
Follow Maxwelldoggums

Contact Info / Websites

Entry #25

Grass Shaders

5/25/09 by Maxwelldoggums
Updated 5/25/09

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.

Grass Shaders


Comments

You must be logged in to comment on this post.


fucking finish orange runner for fuck sake


HalberdHalberd

9/18/09

Very nice work too.


HalberdHalberd

9/18/09

What is Gish?


st91st91

8/26/09

lol everyone wants orange runner 2


IchigayaIchigaya

8/3/09

Terrain? To run on? Like... Orange Runner?


Great job the grass is very realistic inly that is a little bit blurred.


So...Its nice and everything you are using new things and stuff...but where is Orange Runner 2?Come on guy,i dont wanna be rude or anything,but thats what all of we are waiting for.