Author Topic: My Manes & Tufts Are Still Attached And Can't Color Separately  (Read 2132 times)

Offline LadySigyn

  • Let me guess... someone stole your sweetroll?
  • Moderator
  • Community Champion
  • *****
  • Posts: 2,197
  • Country: au
  • Floof-O-Meter: 105
    • View Profile
Re: My Manes & Tufts Are Still Attached And Can't Color Separately
« Reply #10 on: August 15, 2019, 10:15:37 am »
Try going into Feralheart/media/materials and replacing your fmain material file material FtuftMat at the bottom with:

material FtuftMat
{
   transparency_casts_shadows off
   receive_shadows off
   technique 1
   {
      pass
      {
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         
         fragment_program_ref Mane_PS
         {
            param_named_auto colorMod1 custom 1
         }
         texture_unit
         {
            texture fmaneMask.png
            tex_coord_set 0
            tex_address_mode clamp
            filtering trilinear
         }
         texture_unit
         {
            texture fmaneShade.jpg
            tex_coord_set 1
         }
         texture_unit
         {
            texture fmaneLight.jpg
            tex_coord_set 2
         }
      }
   }
   technique 2
   {
      pass
      {
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         lighting off

         texture_unit
         {
            texture fmaneMask.png
            tex_address_mode clamp
            filtering trilinear
            colour_op_ex source1 src_manual src_manual 1 0 0 1
         }
         texture_unit
         {
            texture fmaneShade.jpg
            colour_op modulate
         }
      }
      pass
      {
         cull_hardware none
         cull_software none
         scene_blend add
         depth_func equal
         lighting off

         texture_unit
         {
            texture fmaneLight.jpg
         }
      }
   }
}

And maybe also replace the material FmaneMat and material FmaneMat2 with:


material FmaneMat
{
   transparency_casts_shadows off
   receive_shadows off
   technique 1
   {
      pass
      {
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         
         fragment_program_ref Mane_PS
         {
            param_named_auto colorMod1 custom 1
         }
         texture_unit
         {
            texture fmaneMask.png
            tex_coord_set 0
            tex_address_mode clamp
            filtering trilinear
         }
         texture_unit
         {
            texture fmaneShade.jpg
            tex_coord_set 1
         }
         texture_unit
         {
            texture fmaneLight.jpg
            tex_coord_set 2
         }
      }
   }
   technique 2
   {
      pass
      {
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         lighting off

         texture_unit
         {
            texture fmaneMask.png
            tex_address_mode clamp
            filtering trilinear
            colour_op_ex source1 src_manual src_manual 1 0 0 1
         }
         texture_unit
         {
            texture fmaneShade.jpg
            colour_op modulate
         }
      }
      pass
      {
         cull_hardware none
         cull_software none
         scene_blend add
         depth_func equal
         lighting off

         texture_unit
         {
            texture fmaneLight.jpg
         }
      }
   }
}
material FmaneMat2
{
   technique 1
   {
      pass
      {
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         fragment_program_ref Mane2_PS
         {
            param_named_auto colorMod1 custom 1
         }
         texture_unit
         {
            texture fmaneMask2.png
            tex_coord_set 0
            tex_address_mode clamp
            filtering trilinear
         }
         texture_unit
         {
            texture fmaneShade.jpg
            tex_coord_set 1
         }
         texture_unit
         {
            texture fmaneLight.jpg
            tex_coord_set 2
         }
      }
   }
   technique 2
   {
      pass
      {
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         lighting off

         texture_unit
         {
            texture fmaneMask2.png
            tex_address_mode clamp
            filtering trilinear
            colour_op_ex source1 src_manual src_manual 1 0 0 1
         }
      }
   }
}

If this doesn't work then I'm at a loss, but I'll keep wracking my brain for possible solutions.
« Last Edit: August 15, 2019, 10:19:07 am by Sigyrn »

Offline Oddonelynx

  • Tuesday is applesauce day, but I am also a Jovial Bobcat!(Not lynx)
  • Community Champion
  • ****
  • Posts: 1,948
  • Country: us
  • Floof-O-Meter: 110
  • Hyenas deserve less hate.
    • BOTOFan
    • channel/UC5lDa5s7GLRWQHoH70ne34Q
    • View Profile
Re: My Manes & Tufts Are Still Attached And Can't Color Separately
« Reply #11 on: August 15, 2019, 05:58:57 pm »
...Wait I don't see Fmanemat what does it look like/say?

Art by QuietMacaroni

Rhakorra

  • Guest
Re: My Manes & Tufts Are Still Attached And Can't Color Separately
« Reply #12 on: August 15, 2019, 11:31:05 pm »
...Wait I don't see Fmanemat what does it look like/say?

Hey, Luv!

By following Sigyrn instructions, you need to go to Feral Heart > Media > Materials. The FmaneMat is located in the fmain file :D I don't think you will see a FmaneMat2 there, which is why Sigyrn gave you a replaceable version hence the naming it FmaneMat2 (but don't put the actual 2 inside). My mistake - there is actually two!
Once you replaced both (Sigyrn provided the replacements above), let us know if it worked :3
« Last Edit: August 15, 2019, 11:38:54 pm by Rhakorra »

Offline Oddonelynx

  • Tuesday is applesauce day, but I am also a Jovial Bobcat!(Not lynx)
  • Community Champion
  • ****
  • Posts: 1,948
  • Country: us
  • Floof-O-Meter: 110
  • Hyenas deserve less hate.
    • BOTOFan
    • channel/UC5lDa5s7GLRWQHoH70ne34Q
    • View Profile
Re: My Manes & Tufts Are Still Attached And Can't Color Separately
« Reply #13 on: August 15, 2019, 11:59:00 pm »
Try going into Feralheart/media/materials and replacing your fmain material file material FtuftMat at the bottom with:

material FtuftMat
{
   transparency_casts_shadows off
   receive_shadows off
   technique 1
   {
      pass
      {
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         
         fragment_program_ref Mane_PS
         {
            param_named_auto colorMod1 custom 1
         }
         texture_unit
         {
            texture fmaneMask.png
            tex_coord_set 0
            tex_address_mode clamp
            filtering trilinear
         }
         texture_unit
         {
            texture fmaneShade.jpg
            tex_coord_set 1
         }
         texture_unit
         {
            texture fmaneLight.jpg
            tex_coord_set 2
         }
      }
   }
   technique 2
   {
      pass
      {
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         lighting off

         texture_unit
         {
            texture fmaneMask.png
            tex_address_mode clamp
            filtering trilinear
            colour_op_ex source1 src_manual src_manual 1 0 0 1
         }
         texture_unit
         {
            texture fmaneShade.jpg
            colour_op modulate
         }
      }
      pass
      {
         cull_hardware none
         cull_software none
         scene_blend add
         depth_func equal
         lighting off

         texture_unit
         {
            texture fmaneLight.jpg
         }
      }
   }
}

And maybe also replace the material FmaneMat and material FmaneMat2 with:


material FmaneMat
{
   transparency_casts_shadows off
   receive_shadows off
   technique 1
   {
      pass
      {
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         
         fragment_program_ref Mane_PS
         {
            param_named_auto colorMod1 custom 1
         }
         texture_unit
         {
            texture fmaneMask.png
            tex_coord_set 0
            tex_address_mode clamp
            filtering trilinear
         }
         texture_unit
         {
            texture fmaneShade.jpg
            tex_coord_set 1
         }
         texture_unit
         {
            texture fmaneLight.jpg
            tex_coord_set 2
         }
      }
   }
   technique 2
   {
      pass
      {
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         lighting off

         texture_unit
         {
            texture fmaneMask.png
            tex_address_mode clamp
            filtering trilinear
            colour_op_ex source1 src_manual src_manual 1 0 0 1
         }
         texture_unit
         {
            texture fmaneShade.jpg
            colour_op modulate
         }
      }
      pass
      {
         cull_hardware none
         cull_software none
         scene_blend add
         depth_func equal
         lighting off

         texture_unit
         {
            texture fmaneLight.jpg
         }
      }
   }
}
material FmaneMat2
{
   technique 1
   {
      pass
      {
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         fragment_program_ref Mane2_PS
         {
            param_named_auto colorMod1 custom 1
         }
         texture_unit
         {
            texture fmaneMask2.png
            tex_coord_set 0
            tex_address_mode clamp
            filtering trilinear
         }
         texture_unit
         {
            texture fmaneShade.jpg
            tex_coord_set 1
         }
         texture_unit
         {
            texture fmaneLight.jpg
            tex_coord_set 2
         }
      }
   }
   technique 2
   {
      pass
      {
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         lighting off

         texture_unit
         {
            texture fmaneMask2.png
            tex_address_mode clamp
            filtering trilinear
            colour_op_ex source1 src_manual src_manual 1 0 0 1
         }
      }
   }
}

If this doesn't work then I'm at a loss, but I'll keep wracking my brain for possible solutions.

Did not work  >:(
« Last Edit: August 16, 2019, 12:08:23 am by Oddonelynx »

Art by QuietMacaroni