Help Forum or Fudge Forum 2?

I have written a small app that imports height data and constructs a quadstrip height field, I colour all quads green(grass).
I wish to shade the terrain according to elevation(ie highest light green, lowest dark green).

I managed this once before using lighting, I entered the vertices coords as the normals then did something daft with the lighting and it worked although it was flat shaded. I can not seem to recreate this.

I have tried another approach using colours for each vertex instead of lighting, but there is a horrible banding which matches horizontally but not vertically(this is probaly because I am drawing a quadstrip across, then dropping directly down and drawing another until the height field is drawn.)

does anyone know where I can get some examples, or can help


Paul Sharp