Feral Heart
Help & Guidance => Game Help => Topic started 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:
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!
-
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?.
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
}
}
}
}
-
It... appears to not have worked...:
(http://i58BannedImageSite/29oo0i0.jpg)
Maybe its an error with the mane itself? This has never happened before...
-
Is the part of your mane meant to be transparent actually transparent, not just white?
-
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...?
-
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.
-
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!