Page 1 of 1

Light/terrain problems

Posted: Sun Feb 06, 2005 5:38 pm
by charlie
I'm using the terrain scenemanager, as in the terrain demo. But I turn the light of, and set the ambient light to black, also remove the fog the terrain still doesn't change it's colour. (I thought it should turn black?!)

Anyone an idea what I made wrong or did I simply miss something. I searched a bit through the forum but wasn't successfull, either.

before there's a missunderstanding, I wanted to mention that I use the stable hastur release

Posted: Sun Feb 06, 2005 7:04 pm
by sinbad
Easy, the terrain isn't dynamically lit. Vertex lighting doesn't work well on LOD'ed terrain, if you want to dynamically light it you can use pixel shaders by specifying a custom material.