Feral Heart

Help & Guidance => Game Help => Topic started by: Bloodhunter1998 on May 22, 2016, 07:14:39 pm

Title: Transparent Preset Tutorial
Post by: Bloodhunter1998 on May 22, 2016, 07:14:39 pm
I really need help with this one because i wanted to do some Ginga Characters like Benizakura (he lost two ears) but everytime im putting the code in i didn't get the broken ears
Title: Re: Transparent Preset Tutorial
Post by: D-ead7Dog on May 22, 2016, 07:17:16 pm
Transparent code I use:
 Head/face code only!
Code: [Select]
material preset_1_headMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1head.png
}
}
}
}
material preset_1_headMatR
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_1head.png
}
}
}
}

Just replace the head material code you have now with this one above.
Make sure the files are png [also save the ears or parts you want transparent for last] and then merge all the layers so they are one whole layer and erase the parts you want transparent.

It will save you A LOT of time and misery. ;)

- Or -

you can even check out these helpful thread here (http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=12075.0), and here (http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=5665.0)! There are plenty of others but these are the other threads I found most helpful if my little super quick tutorial didn't do it for you. ;)

Hope it helps!


EDIT:
As the person said below, yes. Alpha Channel is the key too! [thanks for the reminder!]
The way to get it to Alpha Channel [After merging it all into one whole layer]
 Right click on the layer
Fifth option from the bottom up "Add Alpha Channel".
Click that and there you go. You're good to go and erase your little heart out!
Title: Re: Transparent Preset Tutorial
Post by: Wyldercat on May 22, 2016, 08:51:39 pm
I think that PKf7 explained well what t'do, but I'd like to add a small somethin'.

Make sure that whatever program yer using has Alpha Channel turned on. This allows the .png to have transparency, rather than white/bg color when ye use the eraser.