If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Eldritch
Posts: 33 Joined: Mon Feb 26, 2007 12:33 pm
Post
by Eldritch » Tue Mar 13, 2007 11:45 am
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?
Spintz
Posts: 1688 Joined: Thu Nov 04, 2004 3:25 pm
Post
by Spintz » Tue Mar 13, 2007 11:52 am
You need to be able to convert meshes to use S3DVertex2TCoords, since detail mapping materials require 2 texture coordinates.
Eldritch
Posts: 33 Joined: Mon Feb 26, 2007 12:33 pm
Post
by Eldritch » Tue Mar 13, 2007 12:13 pm
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.
Spintz
Posts: 1688 Joined: Thu Nov 04, 2004 3:25 pm
Post
by Spintz » Tue Mar 13, 2007 12:59 pm
Then, you'd have to change the detail map material in the engine.
Eldritch
Posts: 33 Joined: Mon Feb 26, 2007 12:33 pm
Post
by Eldritch » Tue Mar 13, 2007 8:29 pm
Ok, I see.. bummer.. Thanks anyways