Feral Heart

Help & Guidance => Game Help => Topic started by: BrokenBandit on June 27, 2015, 01:34:54 am

Title: Transparent Preset Glitch
Post by: BrokenBandit 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 (http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=5656.msg707117))
Title: Re: Transparent Preset Glitch
Post by: Ingredient 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 (http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=26062.msg467116#msg467116) tutorial by Ruby.

Title: Re: Transparent Preset Glitch
Post by: BrokenBandit on June 28, 2015, 12:20:55 am
That worked! Awesome, thank you so much.
Title: Re: Transparent Preset Glitch
Post by: Ingredient on June 28, 2015, 02:40:44 am
You're very welcome :)