Author Topic: Transparent Preset Tutorial  (Read 2004 times)

Offline Bloodhunter1998

  • Curious Wanderer
  • *
  • Posts: 33
  • Floof-O-Meter: 0
    • View Profile
Transparent Preset Tutorial
« 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

Offline D-ead7Dog

  • AFK NPC
  • Pack & Pride Representative
  • ****
  • Posts: 1,477
  • Country: us
  • Floof-O-Meter: 102
  • BUMPY SNOW
    • D-ead7Dog
    • d-ead7dog
    • View Profile
Re: Transparent Preset Tutorial
« Reply #1 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, and here! 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!
« Last Edit: May 22, 2016, 09:24:30 pm by Pkf7 »




(c) Majorest

Offline Wyldercat

  • The Crimson Cryptic
  • Elder Grey Pelt
  • ****
  • Posts: 3,095
  • Country: us
  • Floof-O-Meter: 101
  • yare yare daze
    • bugbearbear
    • View Profile
Re: Transparent Preset Tutorial
« Reply #2 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.

Avatar by me | Signature by me
Feel to pm/whisper me if you have any questions or just want to chat.
nya