ArkantoS15 Posted April 6, 2014 Posted April 6, 2014 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): 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.
Solution mrwonko Posted April 6, 2014 Solution Posted April 6, 2014 Swap the last two stages. ArkantoS15 likes this
ArkantoS15 Posted April 6, 2014 Author Posted April 6, 2014 It worked as I wanted.Thank you mrwonko! -Solved-
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now