Relief shaded terrain calculation

Hi

Does anybody knows the calculation of the color for relief shaded terrain maps?
I’m using as source DEM height map(that is data
base with x,y and height)
I used usual Lambert light formula ,but it looks
not too good,so I think it must be some else calculation.