multitexturing with multiple UV sets?

sazlin

17-08-2006 00:58:10

hey guys,

i'm working with a bunch of other dudes on an independent game project and we are trying to figure out how to export multiple sets of uv coordinates out of ofusion. we got the actual multitexturing down (multiple texture units in a single pass using same uv set) but we are unsure how to specify multiple sets of uv coords and tell each texture unit to use their respective coords.

an example of why we might want to do this is texture splatting on terrain.

any help anyone could offer would rock. actual sample *.material files would be helpful too.

thanks!

Lioric

19-08-2006 00:30:56

Add an "UV Mapper" modifier to the object with channel you want and edit the uvs

Then in the TextureUnit, set the texture channel used (TextureUnit uses zero based index)

Search this forum, there are several examples of multitexture, and a good post made by Evak that provides good details on this