Feral Heart
Help & Guidance => Game Help => Topic started by: ShyHero on July 22, 2018, 03:13:31 pm
-
Hi!
Im working on some scrolling markings on my preset. But the scrolling markings cover the left side of the body. I did use alpha channel to erase where I want the scrolling markings to go but I didn't erase the whole thing. Heres a look at what I see in the preset maker:
(http://i96.photobucket.com/albums/l161/Milothegolden/screenshot_07222018_110219912_zpsxvbfee7j.png) (http://s96.photobucket.com/user/Milothegolden/media/screenshot_07222018_110219912_zpsxvbfee7j.png.html)
And no, I dont have the old FeralHeart. Its just the old podium..
Also here is what my coding looks like for the left side:
material preset_9_bodyMatL
{
receive_shadows on
technique
{
pass
{
ambient 1.000000
diffuse 1.000000 1.000000 1.000000
1.000000
specular 0.010000 0.010000 0.010000
1.000000
texture_unit
{
texture Text.jpg
tex-address_mode wrap
filtering trilinear
colour_op replace
scroll_anim 0.0 0.1
}
texture_unit
{
texture preset_9body.jpg
tex_address_mode wrap
filtering trilinear
colour_op alpha_blend
}
}
}
}
If anybody can see problems in my coding, please reply! thanks!
-
There's no glaring issues with your code, but I noticed that your body texture file is a .JPG according to what you pasted.
JPG doesn't support transparency, yet you mentioned using the alpha channel, so I'm inclined to think that maybe you forgot to change the file format of your body texture to .PNG in your coding.
-
There's no glaring issues with your code, but I noticed that your body texture file is a .JPG according to what you pasted.
JPG doesn't support transparency, yet you mentioned using the alpha channel, so I'm inclined to think that maybe you forgot to change the file format of your body texture to .PNG in your coding.
My gosh that was the problem! I was looking a tutorial and I must have forgot to fill that in. Thanks for the help!