Hey guys! So, I've got a small issue with a scrolling tail. I have absolutely no clue what's wrong. I've copied the code from the body, which wasn't a marshmallow, and spell-checked.
The code for the tail is as follows:
material preset_12_tailMat
{
technique
{
pass
{
texture_unit
{
texture scroll.png
scroll_anim 0.1 0.1
}
}
pass
{
scene_blend alpha_blend
texture_unit
{
texture 12tail.png
}
}
}
}
Compared to the code on a working body part:
material preset_12_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture scroll.png
scroll_anim 0.1 0.1
}
}
pass
{
scene_blend alpha_blend
texture_unit
{
texture 12body.png
}
}
}
}
If anyone more skilled in preset codes can tell me the issue, I'd appreciate it greatly! ^^
I have already spell-checked and used a code that was working on other body parts. I am being completely honest when I say that I don't know what is wrong in the code. I know it's probably something stupid that I just can't see, but I've done everything I know to do when I'm getting a marshmallow instead of my texture.