Asshen
07-31-2004, 07:24 AM
Hello.
I'm messing about with terrains generated from heightmaps.
The terrain is textured using texture combining depending on a color array (as specified in the terrain texturing tutorial on http://www.delphi3d.net ).
Now I tried to place a standard OpenGL positional diffuse light (LIGHT0), but all texturing is different then, conform the LIGHT0 :) :) :)
Any way to change this so I can use the light and still keep the correct terrain texturing ?
Thank you.
K.
I'm messing about with terrains generated from heightmaps.
The terrain is textured using texture combining depending on a color array (as specified in the terrain texturing tutorial on http://www.delphi3d.net ).
Now I tried to place a standard OpenGL positional diffuse light (LIGHT0), but all texturing is different then, conform the LIGHT0 :) :) :)
Any way to change this so I can use the light and still keep the correct terrain texturing ?
Thank you.
K.