Sign in to follow this  
msamurai

3D stuidio max sdk (IGame) and normal map

Recommended Posts

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

Share this post


Link to post
Share on other sites
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 ....
}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this