lfnetwork.com mark read register faq members calendar

Thread: Which Shader/Effect?
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 07-28-2009, 01:08 AM   #1
Trench
Guy with Monocle
 
Trench's Avatar
 
Join Date: Apr 2009
Location: Under a rock.
Posts: 1,638
Current Game: DX:HR, iKotOR
LF Jester 
Which Shader/Effect?

Greetings, I am attempting to reskin HK-47 (TSL) in a way that will make his eyes glow. I have two questions:
1. What shader/effect/.TXI should I use?
2. How would I properly get his eyes to glow without the rest of him glowing as well?

I'm hoping to use the CM_Baremetal on the rest of him, but if that's not possible I would be willing to scrap it.

Any and all help is appreciated.
Thanks.

~Te Mirdala Mand'alor

Trench is offline   you may: quote & reply,
Old 07-28-2009, 02:41 AM   #2
Rtas Vadum
Behold The Envoy...
 
Rtas Vadum's Avatar
 
Join Date: Nov 2008
Posts: 744
Current Game: TES 4: Oblivion/3: Morrowind
Helpful! 
As far as I've tested, most textures will only accept one shader, not two(either specified by the appearance.2da or a txi file). Technically, his eyes glow anyway when he speaks, but it isn't the kind of glow you're likely after. At least not the sort that c3po would have, if his eyes dimmed or brightened as he spoke.

Rtas Vadum is offline   you may: quote & reply,
Old 07-28-2009, 06:01 AM   #3
Demongo
Afro Skeleton
 
Demongo's Avatar
 
Join Date: Apr 2009
Posts: 963
Current Game: Street Fighter IV
I'm not sure if you can use it, but I saw animated pictures as skyboxes, so maybe you can create an animated gif file or something for HK.



Bink's Sake

"I've barely eaten anything for many decades now. It feels like my stomach shriveled into my back........though i don't have a stomach or back because i'm a skeleton! Yohohohoho! SKULL JOKE!"

"My eyes have never seen such a pretty woman! But i'm a skeleton so my eyes don't see much."
Demongo is offline   you may: quote & reply,
Old 07-28-2009, 12:01 PM   #4
TriggerGod
Senior Member
 
TriggerGod's Avatar
 
Join Date: Mar 2008
Location: hiding
Posts: 2,415
Helpful! 
Quote:
Originally Posted by DarthDac View Post
I'm not sure if you can use it, but I saw animated pictures as skyboxes, so maybe you can create an animated gif file or something for HK.
Unfortunately, the most we can do with animating a texture is make something change ever so slightly. Tutorial

Those animated skyboxes you saw were probably due to the above technique applied to the skybox, or maybe Quanon made some planes that had an animated texture on them, with everything but the ships and the blaster shots transparent. (I'm guessing you are referring to the Battle on Mandalore's ship in BOS: SR )
TriggerGod is offline   you may: quote & reply,
Old 07-28-2009, 12:27 PM   #5
Trench
Guy with Monocle
 
Trench's Avatar
 
Join Date: Apr 2009
Location: Under a rock.
Posts: 1,638
Current Game: DX:HR, iKotOR
LF Jester 
Ah well. I guess I'll have to settle with what I've got.

Edit--
I've decided to go with the plain baremetal, but when I test it out in-game it just looks plain.:help:
I can't figure out how to get it right. I think I set up the .TXI file correctly, but I'm lost.
Any help is appreciated.
Thanks.

~Te Mirdala Mand'alor


Last edited by Trench; 07-28-2009 at 04:00 PM.
Trench is offline   you may: quote & reply,
Old 07-28-2009, 03:44 PM   #6
Rtas Vadum
Behold The Envoy...
 
Rtas Vadum's Avatar
 
Join Date: Nov 2008
Posts: 744
Current Game: TES 4: Oblivion/3: Morrowind
Helpful! 
Quote:
Originally Posted by Te Mirdala Mand'alor View Post
I've decided to go with the plain baremetal, but when I test it out in-game it just looks plain.:help:
I can't figure out how to get it right. I think I set up the .TXI file correctly, but I'm lost.
Any help is appreciated.
Thanks.

~Te Mirdala Mand'alor
Did you add an alpha channel to the texture? The Hk textures in TSL don't have the CM_Baremetal shader effect in the vanilla version of the game, unlike KOTOR.

Rtas Vadum is offline   you may: quote & reply,
Old 07-28-2009, 03:48 PM   #7
Trench
Guy with Monocle
 
Trench's Avatar
 
Join Date: Apr 2009
Location: Under a rock.
Posts: 1,638
Current Game: DX:HR, iKotOR
LF Jester 
How would I go about adding the Alpha channel?

Trench is offline   you may: quote & reply,
Old 07-28-2009, 05:23 PM   #8
redrob41
Veteran
 
redrob41's Avatar
 
Join Date: Jul 2007
Location: Edmonton
Posts: 932
Current Game: just modding TSL
Veteran Modder Helpful! 
Quote:
Originally Posted by Te Mirdala Mand'alor View Post
How would I go about adding the Alpha channel?
I used the Advanced Search here, and found that Svosh mad an Alpha Channel tutorial. I bet you could find even more instruction with the search tool .



- Major character artist for the Revenge of Revan mod. -
- List of Completed Mods - Work in Progress Thread - Skinning Tutorial -
redrob41 is offline   you may: quote & reply,
Old 07-28-2009, 05:23 PM   #9
Trench
Guy with Monocle
 
Trench's Avatar
 
Join Date: Apr 2009
Location: Under a rock.
Posts: 1,638
Current Game: DX:HR, iKotOR
LF Jester 
Thanks, but unfortunately I use GIMP

Trench is offline   you may: quote & reply,
Old 07-28-2009, 05:44 PM   #10
Rtas Vadum
Behold The Envoy...
 
Rtas Vadum's Avatar
 
Join Date: Nov 2008
Posts: 744
Current Game: TES 4: Oblivion/3: Morrowind
Helpful! 
Quote:
Originally Posted by Te Mirdala Mand'alor View Post
Thanks, but unfortunately I use GIMP
That's what I use, at least when alpha channels are needed. To add the channel, either right click the layer and click "Add Alpha Channel"(allows transparency in the layer), or look for the same under "Color" with the layer selected. Then use the "Color to Alpha" tool under color to get the transparency.

Rtas Vadum is offline   you may: quote & reply,
Old 07-28-2009, 05:55 PM   #11
Canderis
Mercenary
 
Canderis's Avatar
 
Join Date: Jun 2008
Location: Unknown
Posts: 2,504
Current Game: Skyrim
Veteran Modder Helpful! 
The alpha channel is the same thing you add when you make pictures with transparent background. Just with a hint of color still. In the eraser you change the opacity or something like that to about 7 then erase the section you was to be shiny.




Canderis is offline   you may: quote & reply,
Old 07-28-2009, 06:02 PM   #12
Trench
Guy with Monocle
 
Trench's Avatar
 
Join Date: Apr 2009
Location: Under a rock.
Posts: 1,638
Current Game: DX:HR, iKotOR
LF Jester 
Thanks guy's

Trench is offline   you may: quote & reply,
Old 07-28-2009, 08:36 PM   #13
TriggerGod
Senior Member
 
TriggerGod's Avatar
 
Join Date: Mar 2008
Location: hiding
Posts: 2,415
Helpful! 
If it still doesn't work, try adding CM_Baremetal to the shader column in HK's row in appearance.2da.
TriggerGod is offline   you may: quote & reply,
Old 07-30-2009, 01:54 AM   #14
Trench
Guy with Monocle
 
Trench's Avatar
 
Join Date: Apr 2009
Location: Under a rock.
Posts: 1,638
Current Game: DX:HR, iKotOR
LF Jester 
Update--

Okay, I've dumped the CM_Baremetal in favor of the CM_Bright to make his eyes glow. I'm using a new color scheme that looks okay when non-shiny.
How would I get the CM_Bright shader to make the eyes glow? Same as with the CM_Baremetal, or something different?

Trench is offline   you may: quote & reply,
Old 07-30-2009, 01:28 PM   #15
TriggerGod
Senior Member
 
TriggerGod's Avatar
 
Join Date: Mar 2008
Location: hiding
Posts: 2,415
Helpful! 
Quote:
Originally Posted by Te Mirdala Mand'alor View Post
Okay, I've dumped the CM_Baremetal in favor of the CM_Bright to make his eyes glow. I'm using a new color scheme that looks okay when non-shiny.
How would I get the CM_Bright shader to make the eyes glow? Same as with the CM_Baremetal, or something different?
I tried putting CM_Bright onto my Dopak head, and I guess I had the alpha channel too light, as the eyes ended up turning more silvery-white. I didn't want to keep trying everything to get the eyes to have a realistic glow, and my experiments in the past with an edited CM_Bright shader didn't have my expected results. (but I had the desired result for the model) If you have seen my Halo mod, you'll see in the screenshot that it it almost pure yellow with a light outer glow. If you notice the second screenie that has the render, the actual texture has a little more detail than pure yellow and an outer glow. I ended up using all black in my alpha channel to get the desired effect.

So, if you want your eyes to glow with CM_Bright, it'd either turn silvery-white with a blue outer glow, or blue with a blue outer glow, but you'd have to make your alpha channel (or rather, the area) pretty dark.

As for CM_Baremetal, all it would do is make your eyes kinda shiny (which is something the current eye models lack... but I think the baremetal effect is a bit too much for an eye.)

And remember to make your .txi files!
TriggerGod is offline   you may: quote & reply,
Old 07-30-2009, 02:12 PM   #16
Trench
Guy with Monocle
 
Trench's Avatar
 
Join Date: Apr 2009
Location: Under a rock.
Posts: 1,638
Current Game: DX:HR, iKotOR
LF Jester 
So it'll turn dark spots into bright spots? Or just the transparent areas? Excuse my n00bish ignorance, my train of thought seems to have derailed today.

Trench is offline   you may: quote & reply,
Old 07-30-2009, 03:07 PM   #17
TriggerGod
Senior Member
 
TriggerGod's Avatar
 
Join Date: Mar 2008
Location: hiding
Posts: 2,415
Helpful! 
Quote:
Originally Posted by Te Mirdala Mand'alor View Post
So it'll turn dark spots into bright spots? Or just the transparent areas? Excuse my n00bish ignorance, my train of thought seems to have derailed today.
No, it'll turn the entire thing bright with an outer glow, depending on how dark you make the alpha channel.
TriggerGod is offline   you may: quote & reply,
Old 07-31-2009, 08:55 AM   #18
Quanon
Senior Member
 
Quanon's Avatar
 
Join Date: May 2006
Location: Lost in my own unconsiciousens
Posts: 2,599
Forum Veteran Veteran Modder Helpful! 
Quote:
Originally Posted by TriggerGod View Post
Quanon made some planes that had an animated texture on them, with everything but the ships and the blaster shots transparent. (I'm guessing you are referring to the Battle on Mandalore's ship in BOS: SR )
Indeed I did for those laser blasts.

You could open my TGA of that "effect".
Its nothing more then a few rows of those shots.

Texturing animation is very premitieve. If you want a smooth anim, you need lots of frames, but then you get a very very large texture.

And that isn't very handy to work with, nor does the engine love it either.


TIQUILAAAAAAAA
Quanon 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 > Which Shader/Effect?

Tags
hk-47, shader, tsl, txi

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 05:42 AM.

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