Realtime dense grass rendering

I wanted to try out the “shell” fur rendering technique. For those that dont know it is done by rendering multiple shells extruded from the bese mesh, each shell is pushed out along the vertex normals more and more creating a stack of geometry that when rendered with alpha from bottom to top will look like fur and in this case grass.

Web Player

It requires SM3 and will probably run very slow unless your GPU was made within the last year. There are 20 shells with a rather expensive shader. I get a bit over 1000 fps (in editor) on a 8 month old card.

It was created with no programming using my shader editor and lightmapping tool.

With a highly optimized shader and varying lod levels I believe this could be used in a current gen game. This has actually been used in some older games like shadow of the colossus and a few games for gamecube like star fox, on a much lower quality of course.

1 Like

looking very good!
but 20 shells seems like quite allot, how does it look with 10?
any plans for releasing this?
also, did you create the textures yourself, or is it generated?

That looks spectacular actually. Never seen grass that good in a game before.

Screenshot is impressive. My laptop with i945GM graphics doesn’t support SM3(obviously) and can’t play the demo. It just renders very nice flat shaded terrain. Guess I will have to try this at home on my desktop with a GT240.

VERY nice :wink:
Lags like hell for me with GeForce 9400GT though

Is it some shader editor you created yourself which is especially for ShaderLab, or something else?

Looks awesome, but I wonder if it’s widely usable. :slight_smile:

It lags on an ATi Radeon HD 3650. Will try it at home on an ATi Radeon HD 5750.

Good job, though!

Too laggy unless you’re planning on making the next Crysis. Give computers a few more years, though, and this would be awesome.

Looks great!

Can’t give an FPS but it runs only 15% CPU on my machine here at work (Intel Core 2 Duo 3GHz with an ATI FireGL V7200), and looks rather nice if I do say so…

awsome man :smile:

but it lagged like hell on my 1 year old macbook

Renders with no apparent lag (zero percent CPU usage) on my quad core 3.4 MHz, GTX 260,
though there is a line (“cut”) the length of the terrain on two sides (behind the cube and behind the two spheres).

Haha, I wonder why :wink:

Why?

Looks nice in the screenshot, but I have a crappy laptop right now (5000 series nvidia XD) so I don’t think I support even shader model 1 right now. T_T

BUT I’ll be back in the US finally come late sunday! :slight_smile: AND I bought a 5870 from newegg the other day, and it’s at my house ^______________^

I’ll also be buying the full rest of my pc next paycheck. (Will have a amd 1050t x6 3.2ghz processor and 4 gigs of ddr3 2000 also. ^_^Motherboard supports 16,8,8 crossfire also. :stuck_out_tongue: I spend way to much money on tech stuff, when I have money that is.) So, I’ll check it out at the end of the weekend.

Looks nice though, highly reminds me of trackmania’s grass shader. Very well done…

You gonna release it for people like me who don’t get programming shaders at all?

Where can I buy this editor? :shock:

Looks good and runs nicely on my Asus gaming notebook. Can you add an FPS display? I’d like to see what the performance is like on my new notebook.

Ditto here. :wink:

here’s a tutorial on how to create a shader like this, just in case anyone was wondering :slight_smile:

http://www.xbdev.net/directx3dx/specialX/Fur/index.php

Runs very smoothly on my gtx280. Like a few people asked, which shader editor did you use?

LLLAAAAGGGGGGYYYYY AASSSSS FFFFUUUUUUUUUUU—

Looks nice, but does run very well. Probably because I have a cheap laptop… :stuck_out_tongue:

Didn’t Aras (or someone) post a fur shader a long while back? Might have been pre-2.0 days. I can’t find it on the Unity site or the wiki, but I know I have a fur shader somewhere on my hard drive.

I know I used it recently (maybe 6 months ago?) while trying to create some realistic moss for a terrain. Came out OK, but had a huge performance hit.