Feral Heart

Help & Guidance => Game Help => Topic started by: BlackRidgeWolf on September 10, 2012, 01:40:59 am

Title: Preset Help!
Post by: BlackRidgeWolf on September 10, 2012, 01:40:59 am
Any one know how to make part of a wing transparent and have solid texture? I really need help.

~BlackRidgeWolf
Title: Re: Preset Help!
Post by: Ruby1234 on September 10, 2012, 01:54:51 am
Draw your wing image, and use the eraser to make transparent parts.
Save and export as a .png.
Go into your material file and go to the
equipMat
sections.
Above the
texture_unit
lines, add
alpha_rejection greater_equal 128
and then change the image name to your image name the .png format.
Save and it should work.

Just in case that didn't make sense,
you should end up with this at the end of your material script:
Code: [Select]
material preset_#_equipMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_#equip.png
}
}
}
}
material preset_#_equipMatR
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_#equip.png
}
}
}
}

(And of course replace the numbersigns with the actual number.)
Title: Re: Preset Help!
Post by: hugrf2 on September 10, 2012, 03:34:52 am
This also may have helped me too. Thank you, Ruby.