3D stuidio max sdk (IGame) and normal map

Started by
0 comments, last by msamurai 17 years, 6 months ago
Does anyone know how to export normal maps with 3ds max sdk? IGameTextureMap::IsEntitySupported() returns false when a normal map is used. I think it has something to do with the way max uses normal maps (there is a wrapper bump texture that holds the normal map bitmap). Any ideas? thanks // msamurai
Advertisement
ok, I found it
IGame does not support this kind of map so one has to:

Texmap *max_map = igame_map->GetMaxTexmap();
int submap_count = max_map->NumSubTexmaps();
for (int i=0; i<submap_count; i++) {
Texmap *sub_map = max_map->GetSubTexmap(i);
// process max map ....
}

This topic is closed to new replies.

Advertisement