|
DX9 Toon shader
#36499
11/19/04 04:44
11/19/04 04:44
|
Joined: Aug 2003
Posts: 61
SingleCell
OP
Junior Member
|
OP
Junior Member
Joined: Aug 2003
Posts: 61
|
Ok after stumbling round in the dark like an idiot, and much cussing, i got ventilators toon shader working under DX9. So if you want good simple toon shading that works with ps1.2 and vs 1.1 (ie works on lower end cards as well as GF6 cards) and there seems to be a few of you. you can grab it from here. www.single-cell.net/3dgs/downloads.htmRegards Tone
|
|
|
Re: DX9 Toon shader
[Re: Orange Brat]
#36503
11/19/04 13:10
11/19/04 13:10
|
Joined: Aug 2003
Posts: 61
SingleCell
OP
Junior Member
|
OP
Junior Member
Joined: Aug 2003
Posts: 61
|
ORANGE BRAT: - This one NEEDS 6.31 or better. If the DX8 one works for you, use that, its the same shader. I just rejigged it to work with DX9.
DREW: Glad it was some help.
Anyone who knows about shaders: Ok, this shader works well for models but i also want to use it for view models (ie in the camera view - you know... the weapon arm and so forth.) Problem is, i cant quite figure out how you translate the sun position to the view. Using this shader, the views highlight is always in the same place no matter which way the view is facing - Can any one help with that?
Now im going back to drool over halflife 2... The Game is brilliance plus, but Steam.... well.... what a farce.
Tone
Last edited by SingleCell; 11/19/04 13:12.
|
|
|
Re: DX9 Toon shader
[Re: Drew]
#36506
11/19/04 19:23
11/19/04 19:23
|
Joined: Oct 2004
Posts: 1,856
TheExpert
Senior Developer
|
Senior Developer
Joined: Oct 2004
Posts: 1,856
|
Great work ! i've tried it with 6.31.2 (i have to reinstall 6.31.3), works great. but the lightninig is the same all the time , it dosen't take account of the sun or light position (no vecligh or sun light in the asm code). i hope someone will add the sun lightning to make it final in some sort ! but i keep it , it works with DX9 and latest betas and works very great. And a GREAT THANKS for the 4 toon tables and the given colormap and that's easy to change in the code the outline or toomap for shading variation.
|
|
|
|