Author Topic: Preset transparency help  (Read 3762 times)

Offline D-ead7Dog

  • AFK NPC
  • Member Of The Season
  • Pack & Pride Representative
  • ***
  • Posts: 1,477
  • Country: us
  • Floof-O-Meter: 102
  • BUMPY SNOW
    • D-ead7Dog
    • d-ead7dog
    • View Profile
Re: Preset transparency help
« Reply #10 on: January 09, 2018, 12:21:09 am »
Chaged the body's tp png, now when i add the alpha channel to erase it nothing shows up. Not even white. its like i never used the earner on it

When you
alpha channel the area you want invisible it makes things MUCH easier to make everything all on ONE layer [Merge all the layers so they're one whole] and then erase parts you want to be transparent! And then Export  it and save it as a .png as stated previously. :)

If it still doesn't work copy and paste your as-of-now notepad material code here. I've done a bunchhhh of presets with missing parts.
« Last Edit: January 09, 2018, 12:25:03 am by D-ead7Dog »




(c) Majorest

Offline Arandomperson

  • Dedicated Supporter
  • ***
  • Posts: 314
  • Country: 00
  • Floof-O-Meter: 16
    • View Profile
Re: Preset transparency help
« Reply #11 on: January 09, 2018, 12:42:46 am »
I did all of that and I always make my presets one layer. And ive also done missing legs. But ive lost my code when cleaning out my FH folder. No need to treat me like a noob.
heres the code

Code: [Select]
material preset_3_bodyMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_3bodyL.png
   }
  }
 }
}
material preset_3_bodyMatR
{
 technique
{
  pass
  {
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_3bodyR.png
   }
  }
 }
}
material preset_3_headMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_3head.jpg
   }
  }
 }
}
material preset_3_headMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_3head.jpg
   }
  }
 }
}
material preset_3_eyeMatL
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   texture_unit
   {
    texture preset_3eyeL.jpg
   }
  }
 }
}
material preset_3_eyeMatR
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   texture_unit
   {
    texture preset_3eyeR.jpg
   }
  }
 }
}
material preset_3_tailMat
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_3tail.jpg
   }
  }
 }
}
material preset_3_maneMat
{
technique
{
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture preset_3mane.png
}
}
}
}
Merrp

Offline D-ead7Dog

  • AFK NPC
  • Member Of The Season
  • Pack & Pride Representative
  • ***
  • Posts: 1,477
  • Country: us
  • Floof-O-Meter: 102
  • BUMPY SNOW
    • D-ead7Dog
    • d-ead7dog
    • View Profile
Re: Preset transparency help
« Reply #12 on: January 09, 2018, 12:51:27 am »
I did all of that and I always make my presets one layer. And ive also done missing legs. But ive lost my code when cleaning out my FH folder. No need to treat me like a noob.
heres the code

I didn't mean to come off that way of treating you like a noob. Just trying to be friendly.
But change your code to this:

Quote
material preset_3_bodyMatL
{
   technique
   {
      pass
      {
alpha_rejection greater_equal 128
         texture_unit
         {
            texture preset_3bodyL.png
         }
      }
   }
}
material preset_3_bodyMatR
{
   technique
   {
      pass
      {
alpha_rejection greater_equal 128
         texture_unit
         {
            texture preset_3bodyR.png
         }
      }
   }
}
material preset_3_headMatL
{
   technique
   {
      pass
      {
alpha_rejection greater_equal 128
         texture_unit
         {
            texture preset_3head.png
         }
      }
   }
}
material preset_3_headMatR
{
   technique
   {
      pass
      {
alpha_rejection greater_equal 128
         texture_unit
         {
            texture preset_3head.png
         }
      }
   }
}
material preset_3_eyeMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_3eyeL.png
   }
  }
pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_3eyeL.png
   }
  }
 }
}
material preset_3_eyeMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_3eyeR.png
   }
  }
pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_3eyeR.png
   }
  }
 }
}
material preset_3_tailMat
{
   technique
   {
      pass
      {
alpha_rejection greater_equal 128
         texture_unit
         {
            texture preset_3tail.png
         }
      }
   }
}
material preset_3_maneMat
{
   technique
   {
      pass
      {
         ambient 2.0 2.0 2.0
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         alpha_rejection greater_equal 250
         texture_unit
         {
            texture preset_3mane.png
         }
      }
   }
}

Change it all to .png to make this easier.




(c) Majorest

Offline Arandomperson

  • Dedicated Supporter
  • ***
  • Posts: 314
  • Country: 00
  • Floof-O-Meter: 16
    • View Profile
Re: Preset transparency help
« Reply #13 on: January 09, 2018, 01:21:15 am »
Omg finally it works.
Merrp

Offline D-ead7Dog

  • AFK NPC
  • Member Of The Season
  • Pack & Pride Representative
  • ***
  • Posts: 1,477
  • Country: us
  • Floof-O-Meter: 102
  • BUMPY SNOW
    • D-ead7Dog
    • d-ead7dog
    • View Profile
Re: Preset transparency help
« Reply #14 on: January 09, 2018, 01:26:27 am »




(c) Majorest

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: Preset transparency help
« Reply #15 on: January 09, 2018, 02:31:23 am »
Locking this up. Happy it has been resolved!
Profile pic by Edolicious

People don't think the universe be like it is, but it do.