lfnetwork.com mark read register faq members calendar

Thread: MP Shader trouble...
Thread Tools Display Modes
Post a new thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Prev Previous Post   Next Post Next
Old 07-12-2008, 09:21 AM   #1
FoolInTheWave
Rookie
 
FoolInTheWave's Avatar
 
Join Date: Apr 2008
Location: Michigan
Posts: 79
Question MP Shader trouble...

I was adding a shader to the default Kyle skin, here is the shader:

Code:
models/players/kyle/kyle_head
{
    {
        map models/players/kyle/kyle_head
        rgbGen lightingDiffuse
        //alphaFunc GE128
    }
    {
        map models/players/kyle/kyle_head
        blendFunc GL_SRC_ALPHA GL_ONE
        alphaGen lightingSpecular
	 detail
    }
}

models/players/kyle/kyle_legs
{
    {
        map models/players/kyle/kyle_legs
        rgbGen lightingDiffuse
        //alphaFunc GE128
    }
    {
       map models/players/kyle/kyle_legs
        blendFunc GL_SRC_ALPHA GL_ONE
        alphaGen lightingSpecular
	 detail
    }
}

models/players/kyle/kyle_legs_blue
{
    {
        map models/players/kyle/kyle_legs_blue
        rgbGen lightingDiffuse
        //alphaFunc GE128
    }
    {
       map models/players/kyle/kyle_legs_blue
        blendFunc GL_SRC_ALPHA GL_ONE
        alphaGen lightingSpecular
	 detail
    }
}

models/players/kyle/kyle_legs_red
{
    {
        map models/players/kyle/kyle_legs_red
        rgbGen lightingDiffuse
        //alphaFunc GE128
    }
    {
        map models/players/kyle/kyle_legs_red
        blendFunc GL_SRC_ALPHA GL_ONE
        alphaGen lightingSpecular
	 detail
    }
}


models/players/kyle/basic_hand
{
    {
        map models/players/kyle/basic_hand
        rgbGen lightingDiffuse
        //alphaFunc GE128
    }
    {
        map models/players/kyle/basic_hand
        blendFunc GL_SRC_ALPHA GL_ONE
        alphaGen lightingSpecular
	 detail
    }
}

models/players/kyle/kyle_torso
{
    {
        map models/players/kyle/kyle_torso
        rgbGen lightingDiffuse
        //alphaFunc GE128
    }
    {
        map models/players/kyle/kyle_torso
        blendFunc GL_SRC_ALPHA GL_ONE
        alphaGen lightingSpecular
	 detail
    }
}

models/players/kyle/kyle_torso_blue
{
    {
        map models/players/kyle/kyle_torso_blue
        rgbGen lightingDiffuse
        //alphaFunc GE128
    }
    {
        map models/players/kyle/kyle_torso_blue
        blendFunc GL_SRC_ALPHA GL_ONE
        alphaGen lightingSpecular
	 detail
    }
}

models/players/kyle/kyle_torso_red
{
    {
        map models/players/kyle/kyle_torso_red
        rgbGen lightingDiffuse
        //alphaFunc GE128
    }
    {
        map models/players/kyle/kyle_torso_red
        blendFunc GL_SRC_ALPHA GL_ONE
        alphaGen lightingSpecular
	 detail
    }
}


models/players/kyle/kyle_extras
{
    {
        map models/players/kyle/kyle_extras
        rgbGen lightingDiffuse
        //alphaFunc GE128
    }
    {
        map models/players/kyle/kyle_extras
        blendFunc GL_SRC_ALPHA GL_ONE
        alphaGen lightingSpecular
	 detail
    }
}

models/players/kyle/kyle_extras_blue
{
    {
        map models/players/kyle/kyle_extras_blue
        rgbGen lightingDiffuse
        //alphaFunc GE128
    }
    {
        map models/players/kyle/kyle_extras_blue
        blendFunc GL_SRC_ALPHA GL_ONE
        alphaGen lightingSpecular
	 detail
    }
}

models/players/kyle/kyle_extras_red
{
    {
        map models/players/kyle/kyle_extras_red
        rgbGen lightingDiffuse
        //alphaFunc GE128
    }
    {
        map models/players/kyle/kyle_extras_red
        blendFunc GL_SRC_ALPHA GL_ONE
        alphaGen lightingSpecular
	 detail
    }
}

models/players/kyle/mouth_eyes
{
    {
        map models/players/kyle/mouth_eyes
        rgbGen lightingDiffuse
        //alphaFunc GE128
    }
    {
        map models/players/kyle/mouth_eyes
        blendFunc GL_SRC_ALPHA GL_ONE
        alphaGen lightingSpecular
	 detail
    }
}

models/players/kyle/kyle_face
{
    {
        map models/players/kyle/kyle_face
        rgbGen lightingDiffuse
        //alphaFunc GE128
    }
    {
        map models/players/kyle/kyle_face
        blendFunc GL_SRC_ALPHA GL_ONE
        alphaGen lightingSpecular
	 detail
    }
}
Now, the shader works fine in single player. But when I go to play multiplayer, the Kyle model is missing parts of the skin and I get error messages regarding the shader as follows:

Code:
WARNING: expecting '{', found 'blendFunc' instead in shader 'models/players/kyle/kyle_torso
WARNING: expecting '{', found 'blendFunc' instead in shader 'models/players/kyle/kyle_extras
WARNING: expecting '{', found 'blendFunc' instead in shader 'models/players/kyle/kyle_hand
WARNING: expecting '{', found 'blendFunc' instead in shader 'models/players/kyle/kyle_face
WARNING: expecting '{', found 'blendFunc' instead in shader 'models/players/kyle/kyle_mouth_eyes
Is there any way to make this shader work in multiplayer?


Error in REALITY.SYS. Run BIG_BANG.EXE (Y/N)?

Are you ready?
FoolInTheWave is offline   you may: quote & reply,
Post a new 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 > MP Shader trouble...

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

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