FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   SW:JK Modding, Mapping and Editing (http://forums.filefront.com/sw-jk-modding-mapping-editing-119/)
-   -   shaders..... (http://forums.filefront.com/sw-jk-modding-mapping-editing/315659-shaders.html)

achilles24 May 28th, 2007 07:30 AM

shaders.....
 
i'm working on shader's for one of my models but it doesn't seem to be working right... i'm trying to get a sorta see-through guy while still maintaining the d form. with some texture flowing over the skin. thanks:cya:

Bluestormtrooper May 28th, 2007 01:41 PM

Perhaps we could help better if you posted the shader you have now.

achilles24 May 28th, 2007 07:00 PM

ok here's the shader:

models/players/cortana/torso
{
{
map models/players/cortana/torso
blendfunc GL_DST_COLOR GL_ONE
}

{
map models/players/cortana/flow
blendFunc GL_DST_COLOR GL_ONE
blendFunc add
rgbGen wave noise 0.25 0.75 0 1
tcMod scroll 0.3 0.2
}
}

models/players/cortana/legs
{
{
map models/players/cortana/legs
blendfunc GL_DST_COLOR GL_ONE
}

{
map models/players/cortana/flow
blendFunc GL_DST_COLOR GL_ONE
blendFunc add
rgbGen wave noise 0.25 0.75 0 1
tcMod scroll 0.3 0.2
tcMod turb 0.6 0.3 0 0.2
}
}

models/players/cortana/face
{
{
map models/players/cortana/face
blendfunc GL_DST_COLOR GL_ONE
}

{
map models/players/cortana/flow
blendFunc GL_DST_COLOR GL_ONE
blendFunc add
rgbGen wave noise 0.25 0.75 0 1
tcMod scroll 0.3 0.2
tcMod turb 0.6 0.3 0 0.2
}
}

models/players/cortana/l_hand_bare
{
{
map models/players/cortana/l_hand_bare
blendfunc GL_DST_COLOR GL_ONE
}

{
map models/players/cortana/flow
blendFunc GL_DST_COLOR GL_ONE
blendFunc add
rgbGen wave noise 0.25 0.75 0 1
tcMod scroll 0.3 0.2
tcMod turb 0.6 0.3 0 0.2
}
}

models/players/cortana/l_hand
{
{
map models/players/cortana/l_hand
blendfunc GL_DST_COLOR GL_ONE
}

{
map models/players/cortana/flow
blendFunc GL_DST_COLOR GL_ONE
blendFunc add
rgbGen wave noise 0.25 0.75 0 1
tcMod scroll 0.3 0.2
tcMod turb 0.6 0.3 0 0.2
}
}

models/players/cortana/hair
{
{
map models/players/cortana/hair
blendfunc GL_DST_COLOR GL_ONE
}

{
map models/players/cortana/flow
blendFunc GL_DST_COLOR GL_ONE
blendFunc add
rgbGen wave noise 0.25 0.75 0 1
tcMod scroll 0.3 0.2
tcMod turb 0.6 0.3 0 0.2
}
}

models/players/cortana/mouth_eyes
{
{
map models/players/cortana/mouth_eyes
blendfunc GL_DST_COLOR GL_ONE
}

{
map models/players/cortana/flow
blendFunc GL_DST_COLOR GL_ONE
blendFunc add
rgbGen wave noise 0.25 0.75 0 1
tcMod scroll 0.3 0.2
tcMod turb 0.6 0.3 0 0.2
}

D00bieStu June 10th, 2007 11:13 AM

i made a skin a while ago which was basically seethru with a lightning texture that would fade it and out randomly and move around the surface of the model. heres the shader (torso only)>>

models/players/myskin/torso
{
{
map models/players/myskin/torso
blendfunc GL_DST_COLOR GL_ONE
}
{
map models/players/myskin/lightning
blendFunc GL_DST_COLOR GL_ONE
blendFunc add
rgbGen wave noise 0.25 0.75 0 0.0625
tcMod scroll 0.3 0.2
tcMod turb 0.6 0.3 0 0.2
}
}

hope this helps

*note: the darker the texture, the more transparent it will be.

achilles24 June 10th, 2007 08:09 PM

thanks
 
thanks maybe that will help!:cya:

D00bieStu June 15th, 2007 11:05 AM

np, and if u do use that shader i'd really like to see what your skin ends up like.:)


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.