Author Topic: Transparent Preset Glitch  (Read 1077 times)

Offline BrokenBandit

  • Curious Wanderer
  • *
  • Posts: 24
  • Country: us
  • Floof-O-Meter: 0
    • View Profile
Transparent Preset Glitch
« on: June 27, 2015, 01:34:54 am »
I tried entering the code to make the preset transparent, and when I did the preset (#8) disappeared from the preset-maker preset list. It skips right from 7 to 9. Anyone know how to fix this?

(I'm basing, or at least trying to base, my preset-to-be on this thread: http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=5656.msg707117)

Offline Ingredient

  • ~Dead men tell no tales~
  • Ancient Silver Mane
  • *****
  • Posts: 3,662
  • Country: 00
  • Floof-O-Meter: 366
    • Ingredient91
    • View Profile
Re: Transparent Preset Glitch
« Reply #1 on: June 27, 2015, 03:02:52 am »
material preset_3_bodyMatL
{
      receive_shadows on
   technique
   {
      pass
      {
                     ambient 1.000000 1.000000 1.000000 1.000000
                    diffuse 1.000000 1.000000 1.000000 1.000000
                     specular 0.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture InvisibleBody.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}                       alpha_rejection greater_equal 128
         texture_unit
         {
            texture InvisibleBody.png
         }
      }
   }
}

Make sure you're putting the image name in both these areas.

Also, make sure your image is a .png file!

Try looking at this tutorial by Ruby.

Will be inactive due to work and exams.

Offline BrokenBandit

  • Curious Wanderer
  • *
  • Posts: 24
  • Country: us
  • Floof-O-Meter: 0
    • View Profile
Re: Transparent Preset Glitch
« Reply #2 on: June 28, 2015, 12:20:55 am »
That worked! Awesome, thank you so much.

Offline Ingredient

  • ~Dead men tell no tales~
  • Ancient Silver Mane
  • *****
  • Posts: 3,662
  • Country: 00
  • Floof-O-Meter: 366
    • Ingredient91
    • View Profile
Re: Transparent Preset Glitch
« Reply #3 on: June 28, 2015, 02:40:44 am »
You're very welcome :)
Will be inactive due to work and exams.