PDA

View Full Version : Max Dx9 vs Ben Cloward Shader


Chasarsis
08-14-2007, 07:48 AM
I've been using Ben Cloward's shader for a couple weeks now, and I have to say its pretty awesome. It doesn't have any of the slow down or crash issues that max's default shader does.
The only problem I'm having with it lies in getting my speculars to create the effects that I want.

For example, with the max default I can create a nice high light on the eye with little effort here:

http://img.photobucket.com/albums/v416/temetry/maxDefault.jpg
http://img.photobucket.com/albums/v416/temetry/maxDefault2.jpg

Same thing for the body, except that the effect is more pronounced

But with Ben Cloward's shader, with the same map, the eyes appear flat and dull, and the texture doesn't get the same lighting.

http://img.photobucket.com/albums/v416/temetry/BenClowardShader.jpg
http://img.photobucket.com/albums/v416/temetry/BenClowardShader2.jpg

Am I not tweaking a certain setting in the shader, or do I have to alter my spec map further?

tom.drin
08-15-2007, 02:24 PM
Hi,
I had same problem, but I was playing a little with it. It seem this shader use specular value from map really weakly. I would open that shader in Notepad and add some multiplier to this line (there are two of these lines):

half4 specCol = specularColor*specMap;

something like:
half4 specCol = specularColor*specMap*10;

I would also try to set shininess on some high value like 80-100.
I don't understand shaders and this stuff but it helped me.
Hope it helps.

Chasarsis
08-15-2007, 03:00 PM
It does, that's exactly what I needed. Thanks very much :D