lfnetwork.com mark read register faq members calendar

Thread: need shader error fixed please
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-26-2004, 10:48 AM   #1
The Raitenks
 
The Raitenks's Avatar
 
Join Date: Apr 2003
Posts: 53
need shader error fixed please

hi folks

i'm currently making a kyp durron skin and wnated to apply a shader to the torso and boots using alpha channels, to make the arms and feets look like shiny leather. the only problem is, that he won't apply the shader to the right regions of the textures, so that all the torso as well as all the boots and hips are affected by it.

this is the shader

models/players/kyp_durron/torso
{
q3map_nolightmap
{
map models/players/kyp_durron/torso
rgbGen lightingDiffuse
}
{
map gfx/effects/chr_white_add_mild
blendFunc GL_SRC_ALPHA GL_ONE
depthFunc equal
detail
tcGen environment
}
}

models/players/kyp_durron/boots_hips
{
q3map_nolightmap
{
map models/players/kyp_durron/boots_hips
rgbGen lightingDiffuse
}
{
map gfx/effects/chr_white_add_mild
blendFunc GL_SRC_ALPHA GL_ONE
depthFunc equal
detail
tcGen environment
}
}


can anyone help me out? if the shader would be correct, i can email the entire pk3, if something with the alpha channels is messed up.


-thanks a bunch in advance, rai




Where i get all my knowledge about Skinning from
www.doityourself.net/raitenks/skinning/textures/knowlege/download.htm
The Raitenks is offline   you may: quote & reply,
Old 09-26-2004, 03:54 PM   #2
90SK
Universal Figment
 
90SK's Avatar
 
Join Date: Jul 2004
Location: Somewhere...
Posts: 4,387
Current Game: Tetris
I saw a lot of gfx stuff in there, yet what you said what you wanted was a shine. I suggest looking around for a shiny shader and then changing all the paths. It looks like your shader has a technical problem that would be easier not to fix.

90SK is offline   you may: quote & reply,
Old 09-26-2004, 04:00 PM   #3
The Raitenks
 
The Raitenks's Avatar
 
Join Date: Apr 2003
Posts: 53
i'm sorry, but i don't think so. the shader i wrote (using this helpful yet complicated manual:http://www.heppler.com/shader/shader/section6.htm#6 and searching in assets) works, it works just fine and looks like i wanted it to look. i figured by now, the only problem is the alpha channels on my .tga images. i never used alpha channels yet though i'm an moderatly experienced texture artist, so i never encountered bugs like this.

i'd really appreciate someone more familiar with the q3 enigine could look into my file.


-rai




Where i get all my knowledge about Skinning from
www.doityourself.net/raitenks/skinning/textures/knowlege/download.htm
The Raitenks is offline   you may: quote & reply,
Old 09-28-2004, 08:49 AM   #4
The Raitenks
 
The Raitenks's Avatar
 
Join Date: Apr 2003
Posts: 53
okay, i know for sure now where the problem's: it's definately my alpha channel. can someone tell me excatly how to define a to-be-shadered region in the texture using alpha channels? because in all the other maps i looked in, that where supposed to be shadered, the alpha part made them sorta transparent when you activate all the channels at the same time. in my image, it is just solid white and black.

help, anyone?




Where i get all my knowledge about Skinning from
www.doityourself.net/raitenks/skinning/textures/knowlege/download.htm
The Raitenks 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 > JediKnight Series > Editing Central > JA Skinning > need shader error fixed please

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 Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:49 AM.

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