Nauk
06-02-2008 09:12:19
Just add this after the "// lightmap texture pass" - pass to the ETTerrain.material file:
Bascially the equivalent to the Worldtexture in the terrain.cfg for the TerrainSceneManager.
Enjoy
pass
{
lighting off
// from the lightmap pass before to counter lod-bugs
vertex_program_ref ET/Programs/VSLodMorph2
{
}
fragment_program_ref ET/Programs/PSLighting
{
}
//
// other blend modes work too
scene_blend modulate
texture_unit
{
// your structure / color-map
texture mycolormap.jpg
}
}
Bascially the equivalent to the Worldtexture in the terrain.cfg for the TerrainSceneManager.
Enjoy