Jump to content

[Help] Doubt about .shader


Go to solution Solved by mrwonko,

Recommended Posts

I'll try to make this short and clear to save us all time xD:

 

I was making some skins of the jedi_hm and decided to add some shaders. My doubt has to do with an effect I was adding to an specific skin (which I show inside the following spoiler):

 

io1clg.png

 

 

Basically, what I would like to do is, make that "redeffect" to be applied ONLY to the, let's say, "white part" of the arms (since as you can see, it is currently being applied to the whole arm). My skills in what refers to shaders aren't very advanced xD, so it would be nice to get some help with this, or at least, if you know of another skin which has got exactly what I'm looking for so I can take the shader and try it, it would be fine.

 

I'll put the code I have used:

models/players/lf_hm/robes03_arms
{	
    {
        map models/players/lf_hm/robes03_arms
	  blendFunc GL_ONE GL_ZERO
        rgbGen lightingDiffuseEntity
    }
    {
        map models/players/lf_hm/robes03_arms
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
        rgbGen lightingDiffuse
    }
    {
   	map gfx/effects/redeffect
	blendFunc GL_ONE GL_ONE
	tcGen environment
                    tcMod scroll 0.2 0.2
    }

}

Thank you for your time.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...