Page 1 of 1

Detail Map for non-terrain

Posted: Tue Mar 13, 2007 11:45 am
by Eldritch
I noticed that only TerrainSceneNodes can be assigned a detail map. I'd like to have the same for non-terrain (i.e. regular geometry meshes), is it possible? Perhaps through some mix of two textures and a material type setting?

Posted: Tue Mar 13, 2007 11:52 am
by Spintz
You need to be able to convert meshes to use S3DVertex2TCoords, since detail mapping materials require 2 texture coordinates.

Posted: Tue Mar 13, 2007 12:13 pm
by Eldritch
Aha, but I think I could settle with using the first texture's coordinates since I do not need to tile the detail map for non-terrain geometry.

Posted: Tue Mar 13, 2007 12:59 pm
by Spintz
Then, you'd have to change the detail map material in the engine.

Posted: Tue Mar 13, 2007 8:29 pm
by Eldritch
Ok, I see.. bummer.. Thanks anyways :)