Warcraft III resources & community, 2003–2006 · archived

Texture transparency

6 posts
#1

Texture transparency

hello buys...i got a problm about alpha channel

i want to hide some parts of a model, i think it's a easy way by setting the alpha to 0. but it become custom color area when rendering.

it seems the model has the info to select the rendering mode between blending and transparent...i really get confused...

can anyone tell me how to do it?
#2
u carnt alpha every part of a model - maybe its invsible - or its just white or teamcolor colored.

btw nice submitted skin. :)
#3
Hueteru carnt alpha every part of a model - maybe its invsible - or its just white or teamcolor colored.

btw nice submitted skin. :)


hmm...i guess every part of model has to set black color in alpha to represent the transparency or team color.
#4
u wrote :
i set the alpha to black but it becomes team color..


well and what i said it depends on the model... :wink:
#5
i guess (again) there r 2 kinds of base color: team color and no color, and the info which parts use what base color is set in the model data.

look at this spell breaker's shield as an example
http://shockwave.twbbs.org/pic/ch/sb-shield.jpg

it has two part, one red one green, its alpha channel at the right side. notice the black area of alpha, when rendering, it's invisible in the red part, but team color in the geen part. now i understand why the shield has to be seperated into 2 parts, cause they use different based color.

so i think there's noway to alpha out a part if it use team color as its base color. :cry:
#6
yep your right...

maybe someone can work on the model for u to make it just invisible if u alpha everthing...