Not sure what is going on can you post pictures of each Material for
comparison?

Chris

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Chandler
Sent: Tuesday, February 12, 2008 3:55 AM
To: hlcoders@list.valvesoftware.com
Subject: [hlcoders] Shader problems

Hey I got a shader for a texture problem.

Now what I have made using a custom proxie is a texture that scrolls ontop
of another texture at a given time interval. Now this works fine, no
problems there except the scrolling texture only shows the color blue with
every other color being black. This is my problem. Is this a function of
"UnlitTwoTexture" or something else.


Base Texture:
//////////////////////////////////////////////////////////////////////////
"UnlitTwoTexture"
{
        "$basetexture"  "vgui\menu\base_border"
      "$texture2"       "vgui\menu\bar"

        "Proxies"
        {
            "TextureScrollDelay"
                {
                        "texturescrollvar" "$texture2transform"
                        "texturescrollangle" 0
                        "textureScrollRunTime" 8
                        "textureScrollDelay" 4
                }
        }
}
//////////////////////////////////////////////////////////////////////////



Bar
//////////////////////////////////////////////////////////////////////////
"UnlitGeneric"
{
        "$baseTexture" "vgui\menu\bar"
}
//////////////////////////////////////////////////////////////////////////


base_border image comes out in full color where as bar image only shows blue
and black.

Mark

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to