Light/terrain problems

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
charlie
Greenskin
Posts: 146
Joined: Mon Nov 15, 2004 1:43 pm
Location: Austria
Contact:

Light/terrain problems

Post 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
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67
Contact:

Post 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.
Post Reply