Author Topic: Preset Help!  (Read 831 times)

Offline BlackRidgeWolf

  • Experienced Traveler
  • **
  • Posts: 155
  • Country: 00
  • Floof-O-Meter: 7
  • Wolves for life <3
    • View Profile
Preset Help!
« 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

Download to see my preset---> http://www.mediafire.com/?7deox0ebd6d5v84

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Preset Help!
« Reply #1 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.)

Offline hugrf2

  • Purple Derple
  • Honored Hero
  • *****
  • Posts: 5,314
  • Country: us
  • Floof-O-Meter: 120
  • wrow
    • hugrf
    • channel/UChLphw5s3-hS8EFAgnNv6FQ
    • hugrf
    • hugrf
    • Ain't nobody got time fo' dat
    • View Profile
Re: Preset Help!
« Reply #2 on: September 10, 2012, 03:34:52 am »
This also may have helped me too. Thank you, Ruby.