Author Topic: Transparent preset help  (Read 1991 times)

Offline exgiraffe

  • Forum Newcomer
  • *
  • Posts: 3
  • Floof-O-Meter: 0
    • View Profile
Transparent preset help
« on: December 12, 2012, 01:30:34 am »
I'm having some problems with a transparent preset, one of the eyelids is invisible and i can't seem to figure out how to fix it.

here's the code

___

material preset_11_bodyMatL
{
   technique
   {
      pass
      {
         emissive 125.0 113.0 131.0 1.0
         texture_unit
         {
            texture preset_11bodyl.jpg
         }
         ambient 0.2 0.2 0.2 1
         scene_blend add
         texture_unit
         {
            texture preset_11ghost.png
         }
      }
   }
}
material preset_11_bodyMatR
{
   technique
   {
      pass
      {
         emissive 125.0 113.0 131.0 1.0
         texture_unit
         {
            texture preset_11bodyr.jpg
         }
         ambient 0.2 0.2 0.2 1
         scene_blend add
         texture_unit
         {
            texture preset_11ghost.png
         }
      }
   }
}
material preset_11_headMatL
{
   technique
   {
      pass
      {
         emissive 125.0 113.0 131.0 1.0
         texture_unit
         {
            texture preset_11head.jpg
         }
         ambient 0.2 0.2 0.2 1
         scene_blend add
         texture_unit
         {
            texture preset_11ghost.png
         }
      }
   }
}
material preset_11_headMatR
{
   technique
   {
      pass
      {
         emissive 125.0 113.0 131.0 1.0
         texture_unit
         {
            texture preset_11head.jpg
         }
         ambient 0.2 0.2 0.2 1
         scene_blend add
         texture_unit
         {
            texture preset_11ghost.png
         }
      }
   }
}
material preset_11_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         emissive 125.0 113.0 131.0 1.0
         texture_unit
         {
            texture preset_11eye.jpg
         }
         ambient 0.2 0.2 0.2 1
         scene_blend add
         texture_unit
         {
            texture preset_11ghost.png
         }
      }
   }
}
material preset_11_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         emissive 125.0 113.0 131.0 1.0
         texture_unit
         {
            texture preset_11eye.jpg
         }
         ambient 0.2 0.2 0.2 1
         scene_blend add
         texture_unit
         {
            texture preset_11ghost.png
         }
      }
   }
}
material preset_11_tailMat
{
   technique
   {
      pass
      {
         emissive 125.0 113.0 131.0 1.0
         texture_unit
         {
            texture preset_11tail.jpg
         }
         ambient 0.2 0.2 0.2 1
         scene_blend add
         texture_unit
         {
            texture preset_11ghost.png
         }
      }
   }
}
material preset_11_maneMat
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         emissive 125.0 113.0 131.0 1.0
         texture_unit
         {
            texture preset_11mane.png
         }
         ambient 0.2 0.2 0.2 1
         scene_blend add
         texture_unit
         {
            texture preset_11ghost.png
         }
      }
   }
}
material preset_11_equipMatL
{
   technique
   {
      pass
      {
alpha_rejection greater_equal 128
         texture_unit
         {
            texture preset_11equip.png
         }
      }
   }
}
material preset_11_equipMatR
{
   technique
   {
      pass
      {
alpha_rejection greater_equal 128
         texture_unit
         {
            texture preset_11equip.png
         }
      }
   }
}

__

Any help would be appreciated.

(also sorry if this topic is in the wrong place, never done this before)

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Transparent preset help
« Reply #1 on: December 12, 2012, 01:43:31 am »
If you are trying to make it ghost, then try here ?
Whether or not it will work depends really on what you are trying to do here.
Are you trying to get a full glow in the dark ghost or?
Just let me know. c:

Offline Ramshackle

  • Forum Newcomer
  • *
  • Posts: 3
  • Floof-O-Meter: 0
    • View Profile
Re: Transparent preset help
« Reply #2 on: December 12, 2012, 02:02:59 am »
Hey Ruby. I'm the one who was putting together the code for her preset; I used your codes (and a couple from someone else). I did everything you said to do to achieve the see-through ghost affect and then I used the glow with it, and it worked perfectly on my own preset. I didn't have to get rid of the eyes or anything because I had no problem with them showing through. But I used the same exact code on her preset and for some reason the results aren't the same at all. Any ideas?

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Transparent preset help
« Reply #3 on: December 12, 2012, 02:47:57 am »
I'm not really sure, the results should be the same... as long as the code didn't somehow get edited or anything.
Then I guess it would really come down to the images.

Offline Ramshackle

  • Forum Newcomer
  • *
  • Posts: 3
  • Floof-O-Meter: 0
    • View Profile
Re: Transparent preset help
« Reply #4 on: December 12, 2012, 05:00:03 am »
The only editing I did to the code was the glow color and nothing else, and the images were made just as mine were. She just tried doing a normal preset, too, and that didn't work either (on both of our computers). I was able to make presets just fine, and she could too, previously, so I've got no idea what's going on. Maybe it's just a Feralheart derp or something, hopefully it passes. Thanks for the reply, though.

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Transparent preset help
« Reply #5 on: December 12, 2012, 02:05:14 pm »
Well, if she was willing to send me the entire preset folder via PM, I might be able to find the error on my end?