Game Development Community

dev|Pro Game Development Curriculum

TGE fur-rendering!

by Koushik · 04/26/2008 (7:08 am) · 7 comments

Hullo Folks!

After a hectic past week and a possibly more-occupied coming week, I decided to take some time off from the "usual stuff" and do something different. I had laid some foundations for implementing a GLSL fur-shader as part of my framework for TGE.

First, I think it would be wise for me to explain some fundamentals before I show-off some stuff. The fur rendering technique I've used is different from other common shader effects like per-pixel lighting and normal-mapping. It uses multiple rendering passes. For DTS objects, TGE does not support multi-pass rendering out of the box, I had to add that functionality myself.

The technique is a modification of the popular "shells and fins technique for realtime fur-rendering" which was a white-paper released by some Folks from Microsoft and UCal, Berkeley (I think). It was a pretty novel method and the best part is that it would work on a shader model 2.0 card! (Thats the best one I've got). As I have ranted on elsewhere, I use a GeForce2 MX card for most of my stuff (I know, I know... its from the stone ages). I have access to a GeForce 6150 on a friend's comp, which I use to my tests with shaders.

Anyway, that said, I have some screens - sorry that the size is only 800 x 600, my card couldn't render 6 passes on a higher resolution at a frame rate greater than 5 FPS. For the same reason, I couldn't really make a video, but if you take my word for it, it looks fantastic :P

The model is from a game I'm writing for a gamedev contest, the shots are from the show tool included with the SDK.

Hope you guys like it!!

kutraj.is.googlepages.com/fur1.jpg
kutraj.is.googlepages.com/fur2.jpg
kutraj.is.googlepages.com/fur3.jpg
kutraj.is.googlepages.com/fur4.jpg

#1
04/26/2008 (7:43 am)
8-)

Nice work. Outstanding development.
#2
04/26/2008 (8:08 am)
Can't wait till you release the code to the public!
#3
04/26/2008 (9:36 am)
How easy would this code be to put into TGEA?
#4
04/26/2008 (10:53 am)
Keep up that cool works Koushik!
#5
04/26/2008 (11:21 am)
Very cool work! I can't wait to see what you come up with next!
#6
04/26/2008 (3:29 pm)
Very nice: Cant vait to see more ;)
#7
04/26/2008 (6:09 pm)
Thanks a lot for your comments guys.

@ Mladen:

Are you called septurion by any chance? Just curious... :)
I don't know when I'll be releasing this though. Most of the stuff is hardcoded in the engine ATM, so I need to beef if up a bit and put it into the scripts.

@ Kory James:
TGEA comes with multi-pass rendering, so it shouldn't be as difficult. The problem is that TGEA uses DirectX and I'm not that comfortable with DirectX and HLSL to be honest. The other thing is that I haven't used TGEA at all , apart from looking at the eye-candy in the demo, so I'm not sure. I'm guessing that it shouldn't be too much work, though.

@David, Christian:
Actually, I have something else up my sleeve... mwahaha (evil laugh, with lightning in the background...)