Feral Heart

Help & Guidance => Game Help => Topic started by: anahel on June 06, 2015, 10:53:27 pm

Title: Mane fix code for presets not working
Post by: anahel on June 06, 2015, 10:53:27 pm
Exactly what it says on the can.
So, it works to fix the weird transparency thing on canines, but it does nothing on felines. Here's a screeny WITH the code "fixed":

(http://oi57BannedImageSite/1ibv6d.jpg)
As you can see, the glitch is still there.

Here's the coding I'm using, if anyone could help me find the problem:
Code: [Select]
material preset_7_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_7mane.png
                        }
                }
        }
}
Thanks to anyone who can help!
[/color]
Title: Re: Mane fix code for presets not working
Post by: Enoki on June 07, 2015, 03:39:35 am
Hmm, have you tried placing the preset into a different number/file? It's kind of difficult to see exactly the transparency, but I have had that issue before-except this coding you have fixed it for my files.

Also, I noticed that you have alpha_rejection line back a bit and the texture unit line should be back slightly. It should be aligned with the cull hardware and software lines. Not sure if that would cause the issue and if the coding is really that picky then sheesh; but you can never know until you try.

Best of luck in your preset making.
Title: Re: Mane fix code for presets not working
Post by: anahel on June 07, 2015, 05:12:22 am
 Thanks for the help! It's fixed now - turns out the texture I was using wasn't masked properly so the ends of the transparency were conflicting with the ones in game. And yes, the coding was off, so thanks for suggesting that fix. Many thanks.
Title: Re: Mane fix code for presets not working
Post by: Enoki on June 07, 2015, 09:44:10 pm
My pleasure! Glad ye got it fixed. Lovely preset, I'm sure ya'll get many compliments in-game. <3