Author Topic: Glowing tail on presets  (Read 1021 times)

Offline mcgee2001

  • Dedicated Supporter
  • ***
  • Posts: 474
  • Country: 00
  • Floof-O-Meter: 22
  • Khalessi Of The Dothraki~
    • View Profile
    • Mcgee's Place
Glowing tail on presets
« 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:

(Yes the tail also has transparent sections)


Signature by: Marija, thank you!! <3
Avatar by: Sameth, thank you!! <3
Find me in-game as: Mcgee
Skype: Mcgee27

AlphaEclipse

  • Guest
Re: Glowing tail on presets
« Reply #1 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. :)