[SOLVED] Setting to make lightsource treat normal difference more/less

Hi all,

I’m going nuts with testing diffuse and specular and emission and so on so I thought I’d drop a message :slight_smile:

How do I make my directional light treat a difference with the normal greater? I am creating mountains and I loose some of the 3D feel because the similiar leanings look very much alike.

Any ideas?

Thanks in advance,
Mike

I’m not sure I understand the question - you want to make the lighting more pronounced / exaggerated so that smaller differences in gradient are more noticeable?

With the fixed function pipeline the obvious solution would be to increase the contrast between lit and shadowed areas (which probably means making the light stronger, or your ambient light darker). You could also add specular to your directional lighting to give it a more defined form, but that might be inappropriate for terrain.

Alternatively you could go for something along the lines of a traditional three point lighting setup. Or you could ditch the fixed function pipeline and write custom shaders to get exact control over your lighting equations.

HTH.

I’ve been playing lots with the contrast but didn’t get it satisfactory.

I never thought about adding another light source to make it more visible. Thanks, I have something to look at now again :slight_smile:

Two light sources made it look amazingly good, thanks a ton :smiley:

Mike

No screenshots? ??? ;D

Haha, if you look on the mountain to the right all of the “sunny side” used to be of only one brightness but now one can see differences :slight_smile:

Mike