Omicron Posted May 31, 2015 Posted May 31, 2015 I've been trying to make part of a texture transparent but also two-sided to 'hide' some of the 'holes'. I find that I can only get one or the other on the texture when ingame with my shader: models/players/mara_khaal/boots { cull disable { map models/players/mara_khaal/boots blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbGen lightingDiffuse } } The effect I'm trying to go for is making the heel on the boot look bigger than it actually is on the model, by hiding some of the texture with alpha. But to reduce the number of holes that can be seen through (inside of the 'larger heel' for example) I'm adding the cull disable line. If I have the cull disable line, the boot looks like this in game: If I remove the cull disable line, the boot looks like this: I tried Ruxith's final shader here but I got the same result as the first picture.
mrwonko Posted May 31, 2015 Posted May 31, 2015 cull none, twosided and disable are exactly the same. Which model is this?
Omicron Posted May 31, 2015 Author Posted May 31, 2015 Jedi_Zf And it sorta worked... ish. I turned my gamma up as i couldn't see well due to the dark texture, and it looked like this: The extended heel is kinda there, but the rest of the boot looks a bit derp EDIT: I tried DT's shader and I got this, it's sorta close, but the sole of the foot still shows:
Omicron Posted May 31, 2015 Author Posted May 31, 2015 I found another part of the model that had a heeled boot, so I enabled that and removed the rest with alpha, now works fine. Thanks for the help anyway guys! Asgarath83 likes this
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