Feral Heart

Help & Guidance => Game Help => Topic started by: forks on April 18, 2015, 03:13:19 am

Title: Mane Fix Issue
Post by: forks on April 18, 2015, 03:13:19 am
So I used to be able to do the mane fix on my presets easily. Now, I can't. The mane is saved as a .png as is the coding for the mane, although the body, tail, eyes, and head are .jpgs. Here is my code for the mane:

Code: [Select]
material preset_5_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_5mane.png
                        }
                }
        }
}

I don't see what's wrong... could someone help me? There are white triangles in the mane. I can provide a picture if needed!
Title: Re: Mane Fix Issue
Post by: BigSkippy on April 18, 2015, 03:27:15 am
Try this friend, it has always worked well for me. I have had a few codes that have worked a few times then just stopped working maybe because I am blind to an issue or what not but give this one a try maybe?.

Code: [Select]
material preset_5_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_5mane.png
}
}
}
}
Title: Re: Mane Fix Issue
Post by: forks on April 18, 2015, 03:33:10 am
It... appears to not have worked...:

(http://i58BannedImageSite/29oo0i0.jpg)

Maybe its an error with the mane itself? This has never happened before...
Title: Re: Mane Fix Issue
Post by: greenart6 on April 18, 2015, 03:48:10 am
Is the part of your mane meant to be transparent actually transparent, not just white?
Title: Re: Mane Fix Issue
Post by: forks on April 18, 2015, 03:54:48 am
I want my mane to be the brown color without the white... triangly things. The mane fix is supposed to fix things like that and it didn't...?
Title: Re: Mane Fix Issue
Post by: greenart6 on April 18, 2015, 04:07:22 am
Well, I meant that the white triangles at the end of the mane image actually do have transparency, right? If anything is covering up the bottom of the mane the mane fix code won't fix that.
Title: Re: Mane Fix Issue
Post by: forks on April 18, 2015, 11:58:38 am
Woo! I got it to work!

The problem was, the transparent part wasn't with the Alpha Channel. I don't know how because it was when I made it, but it was white so I did the Alpha Channel and it worked :) thanks for your help everyone!