Feral Heart

Help & Guidance => Game Help => Topic started by: mcgee2001 on March 03, 2015, 06:12:47 pm

Title: Glowing tail on presets
Post by: mcgee2001 on March 03, 2015, 06:12:47 pm
Hi, I was wondering if it was actually possibly to have glowing markings on a preset's tail? I've looked on Ruby's thread but she doesn't include the code, I was assuming you could do it though..
I tried it anyway, but nothing happened.
My material code:
Code: [Select]
material preset_8_tailMat
{
technique
{
pass
{                   
                        alpha_rejection greater_equal 128
texture_unit
{
texture preset_8tail.png
}
}
}
}
pass
  {
   emissive 3.0 0.0 0.0
   scene_blend alpha_blend
   texture_unit
   {
    texture glowingmarkings4.png
   }
  }
 }
}
What I got:
(http://i60BannedImageSite/2udxfg4.png)
(Yes the tail also has transparent sections)
Title: Re: Glowing tail on presets
Post by: AlphaEclipse on March 03, 2015, 07:26:08 pm
Use this glowing script for your preset tail:
Code: [Select]
material preset_8_tailMat
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture YOURBASELAYERBODYTEXTURE.png
}
}
pass
{
emissive 1.0 0.0 0.0
scene_blend alpha_blend
texture_unit
{
texture YOURGLOWINGMARKINGSTEXTURE.png
}
}
}
}
Let me know if that one works. If you still end up having issues with the preset, don't hesitate to say so. :)