A simple hair shader

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 10 October 2004   #1
A simple hair shader

I managed to find some spare time and cooked up this little shader:


2 anisotropic specular highlights, with selectable color, glossiness, specular strength (LW specular channel acts as a master channel) and shift.

I have included a simple test scene and object that you can use as a reference. The shader uses different textures to modify specular highlights: The jittering texture (LW's translucency channel) is basically a gray scale version of the color map + some 2d hyperclouds on the top. The second specular texture (LW's ior channel) is used to modulate the specular highlights: You can use this to give the hair a "sparkling" look (in the test object it's a gray scale version of the color map + random noise.

Two different highlights:

Sparkles (modulation texture):

With darker modulation texture:

The file can be found here

Comments, questions etc. are welcome - the skin shader is currently on hold - I'm swamped with work

Old 10 October 2004   #2
Light Justice
Old 10 October 2004   #3
cool I can't wait to play with it.
Kory Heinzen
VisDev Artist
My Blog
Old 10 October 2004   #4
That is excellent. Thank you!
Old 10 October 2004   #5
Umm That's insane!!!

Excellent work

Old 10 October 2004   #6
Looks great! may come in handy.
Old 10 October 2004   #7
Your plugin is great.

However while I adjust the values the Surface Sample image doesnt update unless I disable/enable the plugin. Not a major problem, I think it can be fixed easily

Light Justice
Old 10 October 2004   #8
Talking cool

hei,cool,very cool plugin,may i know that shader can apply what other material???izzit cloth also can alppy ??just want to know this shader can work at which material except hair

Finally,thanks for the plugin.......is
Can`t survive without 3D
Old 10 October 2004   #9
Kickass thanks using it right now
Old 10 October 2004   #10
pipari (the Great) strikes again!

Any news about the skin shader?
Visit Exper Chaotic Flow and 3D Recursions :: 3D Math for Art Places Aurora Attractor, Apophysis , Flam3, Vlam and more!
Old 10 October 2004   #11
Wow, Looks great! Thanks for your sharing!
Old 10 October 2004   #12
Fantastic I was just thinking how Max and XSi ave been getting some kool/tons of commerical quality plugins for free and LW been quiet on the homefront...
Not that I mean to bash ppl who code or anything but the developer area has been very off the radar.

This shader, the occulusion shader and dirt has really been a welcome addition.
Maya | Lightwave | Messiah
Old 10 October 2004   #13
Thanks alot for sharing with us. I can't wait to give it a whirl....hat's off to ya
Old 10 October 2004   #14
Thanks guys I hope you find the shader useful

Panikos: The behaviour you described is a common problem with all my plugins and I have been too lazy to fix it (If anyone knows how to fix this pm me, please I'll fix it sooner or later

xiao_x: You can use it on other surface types as well. Just play around with it: try different modulation and shifting textures & values etc.

Exper: You are such a flatterer The skin shader is currently on hold - I'm busy busy busy

If you guys manage to get some decent results with this shader I would like to see them 8)

Old 10 October 2004   #15
do u have a link to what you got so far on the skin shader or example pictures or a thread.
Maya | Lightwave | Messiah
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 12:28 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.