Feral Heart

Help & Guidance => Game Help => Topic started by: Vwang on December 19, 2016, 07:51:48 pm

Title: Metallic wings?
Post by: Vwang on December 19, 2016, 07:51:48 pm
Im trying to get my metallic code for the wings to work for my PJM OC MoonMoon Here's my code
Code: [Select]
material preset_9_equipMatL
{
 technique
 {
  pass
  {
   specular 0.5 0.5 0.5 1
   texture_unit
   {
    texture preset_9metal.png
    env_map spherical
   }
  }
  pass
  {
   ambient 0.5 0.5 0.5 1
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_9equip.png
   }
  }
 }
material preset_9_equipMatR
{
 technique
 {
  pass
  {
   specular 0.5 0.5 0.5 1
   texture_unit
   {
    texture preset_9metal.png
    env_map spherical
   }
  }
  pass
  {
   ambient 0.5 0.5 0.5 1
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_9equip.png
   }
  }
 }
}
Title: Re: Metallic wings?
Post by: Morgra on December 19, 2016, 08:05:35 pm
Is only a portion of the wings metallic? Which is why you used the metal layer above the equip layer? ^^

And try this: (I noticed a missing bracket)
Code: [Select]
material preset_9_equipMatL
{
 technique
 {
  pass
  {
   specular 0.5 0.5 0.5 1
   texture_unit
   {
    texture preset_9metal.png
    env_map spherical
   }
  }
  pass
  {
   ambient 0.5 0.5 0.5 1
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_9equip.png
    }
   }
  }
 }
material preset_9_equipMatR
{
 technique
 {
  pass
  {
   specular 0.5 0.5 0.5 1
   texture_unit
   {
    texture preset_9metal.png
    env_map spherical
   }
  }
  pass
  {
   ambient 0.5 0.5 0.5 1
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_9equip.png
   }
  }
 }
}
Title: Re: Metallic wings?
Post by: Vwang on December 19, 2016, 08:21:57 pm
Is only a portion of the wings metallic? Which is why you used the metal layer above the equip layer? ^^

And try this: (I noticed a missing bracket)
Code: [Select]
material preset_9_equipMatL
{
 technique
 {
  pass
  {
   specular 0.5 0.5 0.5 1
   texture_unit
   {
    texture preset_9metal.png
    env_map spherical
   }
  }
  pass
  {
   ambient 0.5 0.5 0.5 1
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_9equip.png
    }
   }
  }
 }
material preset_9_equipMatR
{
 technique
 {
  pass
  {
   specular 0.5 0.5 0.5 1
   texture_unit
   {
    texture preset_9metal.png
    env_map spherical
   }
  }
  pass
  {
   ambient 0.5 0.5 0.5 1
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_9equip.png
   }
  }
 }
}
Ayy it worked. This may be locked now.
Title: Re: Metallic wings?
Post by: Morgra on December 19, 2016, 08:57:51 pm
Glad it worked! Good luck on the rest of the preset.
Title: Re: Metallic wings?
Post by: Kerriki on December 19, 2016, 10:59:40 pm
Locking since the issue no longer stands ^^