how can i put this code for just the wings?...
Hope the OP doesn't mind if I post this for ya. Make sure to replace the ? though with the number of your preset, and of course write your textures in. XD
material preset_?_equipMatL
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture Transparentbody.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
material preset_?_equipMatR
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture Transparentbody.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
This should work. I know there are other ways to make transparent presets, but hope this does the trick for ya.
On the subject, do you happen to know if it's possible to make a body with transparent parts, and another scrolling image mask on top of the same body part, Lavender? Example: A character with no arms but having spots on its back that change colors from an animated texture. Kind of hard to explain correctly when I don't have the code on this computer. >.<
So far though, when I try to make the legs transparent with the alpha rejection, it makes the whole body go transparent and only the color-changing scrolling part shows up. But, if I simplify it and let the body have no transparency, everything shows up as it should, except for the legs of course.