Feral Heart

Help & Guidance => Game Help => Topic started by: Nightstar on May 13, 2016, 04:14:22 pm

Title: Scrolling Mane Preset Problems
Post by: Nightstar on May 13, 2016, 04:14:22 pm
Haii!

I managed to make a preset with scrolling mane, but no matter what I change or try to fix, it always looks like this:

(http://i.imgur.com/bz2vrwY.png)


Any ideas how I can fix those flat..layers?! in the mane? x3


The Coding:

material preset_8_maneMat
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture preset_8mane.png
            scroll_anim 0.03 0.03
         }
      }
   }
}
Title: Re: Scrolling Mane Preset Problems
Post by: Hakumi on May 13, 2016, 04:26:21 pm
Try this coding floof and see if it helps c;
Just change it to where it matches your preset c:

Code: [Select]
material preset_1_maneMat
 {
    technique
    {
       pass
       {
 scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_1mane (this is the all black mane mask).png
          }
          texture_unit
          {
            texture preset_1mane (this is the all black mane mask).png           
             colour_op alpha_blend
          }
          texture_unit
          {
        texture SCROLLING TEXTURE.jpg
        colour_op_ex blend_current_alpha src_texture src_current
 tex_address_mode wrap
 filtering trilinear
 scroll_anim 0.0 0.1
          }
       }
    }
 }
Title: Re: Scrolling Mane Preset Problems
Post by: Enoki on May 13, 2016, 04:47:21 pm
I'm 'fraid what y'er looking at can't be fixed. What y'er seeing there are what normally look like spikes in the mane. Since y'er using a scrolling texture, and these use transparency to work, it shows the full block instead of a spike-which is created by a normal .png texture with no scrolling coding added.

Sorry to say, ye can't do anything to change that. >v< G'luck with the preset, though! 'Tis looking really good so far. Mane looks fantabulous.
Title: Re: Scrolling Mane Preset Problems
Post by: Nightstar on May 13, 2016, 09:55:53 pm
Hakumi you're a Genius! xD Thanks it's working! *o*
And thank you Enoki as well c:
Title: Re: Scrolling Mane Preset Problems
Post by: Hakumi on May 13, 2016, 10:04:54 pm
Glad that it's working ^^;
Have Fun ~!
Title: Re: Scrolling Mane Preset Problems
Post by: Ruby1234 on May 13, 2016, 10:31:31 pm
Just gonna add on right quick, most people use a solid black or white layer for their mask, which usually ends up with white or black being able to be seen around the edges, since the rendering for transparency isn't flawless.
The best I've been able to combat this, is instead of using a white/black mask, just use the texture that you were already going to be using. For example:
(https://i.gyazo.com/9edd453bc2dc8cf7b5336fe60bd93019.png)

The results are noticeably different!
(White masking on the head, this technique on the mane.)
(https://i.gyazo.com/1b65990a31148f266f2c04daa2caf7f2.gif)

Anyway, happy presetting!
Title: Re: Scrolling Mane Preset Problems
Post by: Nightstar on May 13, 2016, 11:02:45 pm
Thanks a lot for that tip! :3 Will do that
Title: Re: Scrolling Mane Preset Problems
Post by: Warriorstrike on May 14, 2016, 01:19:24 am
I'll lock this thread up for you, seeing as your question has been answered. Your preset looks lovely so far, and good luck with it! c: