lfnetwork.com mark read register faq members calendar

Thread: Shader questions
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 09-12-2009, 05:00 AM   #1
Toasty Fresh
Rookie
 
Toasty Fresh's Avatar
 
Join Date: Aug 2008
Posts: 105
Shader questions

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.

Last edited by Toasty Fresh; 09-12-2009 at 08:31 AM.
Toasty Fresh is offline   you may: quote & reply,
Old 09-12-2009, 10:40 AM   #2
TriggerGod
Senior Member
 
TriggerGod's Avatar
 
Join Date: Mar 2008
Location: hiding
Posts: 2,415
Helpful! 
Quote:
Originally Posted by Toasty Fresh View Post
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)

Quote:
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.

Quote:
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.
TriggerGod is offline   you may: quote & reply,
Old 09-12-2009, 07:30 PM   #3
Toasty Fresh
Rookie
 
Toasty Fresh's Avatar
 
Join Date: Aug 2008
Posts: 105
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.
Toasty Fresh is offline   you may: quote & reply,
Old 09-12-2009, 08:14 PM   #4
TriggerGod
Senior Member
 
TriggerGod's Avatar
 
Join Date: Mar 2008
Location: hiding
Posts: 2,415
Helpful! 
Quote:
Originally Posted by Toasty Fresh View Post
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:
Code:
bumpyshinytexture CM_SpecMap
I could be wrong, and it could just be
Code:
envmaptexture CM_SpecMap
TriggerGod is offline   you may: quote & reply,
Old 09-13-2009, 01:59 AM   #5
Toasty Fresh
Rookie
 
Toasty Fresh's Avatar
 
Join Date: Aug 2008
Posts: 105
Ah, okay.

Also, the question I asked earlier which I edited out, I discovered I shouldn't actually have edited out. So, here is my original question:

How do glow maps AKA illumination maps work? Is it done via one of the shader files as demonstrated in the post above this?
Toasty Fresh is offline   you may: quote & reply,
Old 09-13-2009, 03:42 AM   #6
Achilles
Dapper Chimp
 
Achilles's Avatar
 
Join Date: May 2004
Posts: 8,204
Helpful! Veteran Modder Forum Veteran 
If you're asking about what I think you're asking about, try envmaptexture CM_Bright (ala the electromesh armors)
Achilles is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Shader questions

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:33 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.