Jump to content

Home

Shader questions


Toasty Fresh

Recommended Posts

I have a couple of questions referring to shaders.

 

First off: Does this game actually use normal mapping anywhere? I see things like shinyness on Sith armor but otherwise the models appear rather flat.

 

Secondly: Does it support specular mapping?

 

Thirdly: EDIT: NVM this one, instead could someone please tell me the filename of the sith armor texture? It's not armor nor robes and I can't find it under the clothes textures but it's really very difficult to find.

 

Thanks for your time.

Link to comment
Share on other sites

First off: Does this game actually use normal mapping anywhere? I see things like shinyness on Sith armor but otherwise the models appear rather flat.

In some game files, I've found that the {texturename}b (or something like that) appears to be a normal map. I don't exactly know if they do anything noticeable. Its mainly in the textures for the areas, but I've noticed some others in the texture files for TSL (the gand texture comes to mind)

 

Secondly: Does it support specular mapping?

Unfortunately, not. The closest we'll ever get for KOTOR/TSL modding is using lightmaps in custom modeled modules (still being worked on) and using the shader files.

 

Thirdly: EDIT: NVM this one, instead could someone please tell me the filename of the sith armor texture? It's not armor nor robes and I can't find it under the clothes textures but it's really very difficult to find.

It should be under the N's in the textures. It should be "N_sithsolder01" or something like that. Most, if not all NPC's texture files (excluding your party members, animals/beasts (IIRC, not sure on this one), and droids' textures) are located in the N subtree.

Link to comment
Share on other sites

Okay, cool. I wasn't expecting spec maps (this game is rather old :p) although I'd like to know how the Selkath's heads were done. They're kind of slimy-ish, it looks like spec mapping but I can't be sure.

 

They use CM_SpecMap, which is one of the shader files I mentioned earlier. SpecMap isn't like specular maps like 3ds Max and other, newer games can support.

 

IIRC, the Selkath uses this line in their .txi file:

bumpyshinytexture CM_SpecMap

 

I could be wrong, and it could just be

envmaptexture CM_SpecMap

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...