PDA

View Full Version : Ideas on hwo to make this shader?


Levitateme
06-10-2003, 09:53 PM
http://www.gamespot.com/gamecube/adventure/legendofzeldathewindwaker/screens.html?page=812

That shader on the ice, it has that highlight running down it. if link moves around that highlight moves also, im guessing they have like a env ball texture on the toon shader? does anyone have any idea on how i can have my toon shader have taht type of env reflection. i got it to work using a blinn with its reflecion color, but then its not a toon shader anymore, its got diffusion shading its not flat. any ideas, spent about 5 hrs trying to get this to work right. thanks if anyone has some ideas.

wgreenlee1
06-10-2003, 10:15 PM
Incedense gradients?

ajk48n
06-10-2003, 11:10 PM
You could try taking the blinn you got to work, and outputting it's "outcolor.R" values into a ramp's U or V coordinate, and outputting the ramp's outcolor to a surface shader's outcolor.

What this does it take the blinn, and remap the colors of the highlight shadows, specular, etc. with what's it the ramp. You could use this to keep the colors of you original blinn, but get rid of the shading.

I hope this makes sense.

pyromania
06-10-2003, 11:12 PM
Use a surface shader, so you don't have any light info calculated for the material. This will give you your toon look. Then have a V ramp with 3 colors, the two outer ones are your base color and the middle one, is the highlight. Now take a sample info node feed the facing ratio into a multiply divide node, and multiply it by 2. This will rotate the ramp around so that you get a stripe going down the center instead of on the edges. Then if you wanted you can plug other textures into the ramp if you don't want single colors.

Levitateme
06-11-2003, 12:04 AM
ajk48n , i really like your idea im going to try that. i posted a pic of how i like my model to look. i just selected the faces with the black metal and applied a toon shader with env sphere for the highlight, same for the blue metal . the face with no highlight, i applied a normal toon texture to them faces. there must be a way to get this to work so its all on one shader, ill try ajk48n way, i appreciate everyone trying to figure this out thanks.

playmesumch00ns
06-11-2003, 09:04 AM
from the pic of zelda you posted it looks like just a specular highlight, i.e. the very top of the toon ramp is set to pale blue and the rest is set to darker blue.

I'd have to see it moving to make a better guess. An environment map won't work.

CGTalk Moderation
01-15-2006, 09:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.