Author Topic: Scrolling Preset Mane Wont Work  (Read 1754 times)

Offline mcgee2001

  • Dedicated Supporter
  • ***
  • Posts: 474
  • Country: 00
  • Floof-O-Meter: 22
  • Khalessi Of The Dothraki~
    • View Profile
    • Mcgee's Place
Scrolling Preset Mane Wont Work
« on: February 19, 2015, 12:59:10 pm »
Hullo, so, I was making a scrolling preset for my friend, but the only part he wants scrolling is the mane.
He wants the full mane to be a scrolling texture. I've read literally all of the tutorials and asked my friend for help. I did it the exact same way as my friends(because her's is the way he wants it). But we just get this:

Baring in mind, we did it the exact same way as my friend and hers comes out with the full mane scrolling. ;n;


And we used this code in the material file:
Code: [Select]
material preset_7_maneMat
{
receive_shadows on
technique
{

pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.010000 0.010000 0.010000 1.000000
emissive 0.000000 0.000000 0.000000 1.000000
texture_unit
{
texture derp.jpg
tex_address_mode wrap
filtering trilinear
colour_op replace
scroll_anim 0.0 0.1
}
texture_unit
{
texture preset_7mane.png
tex_address_mode wrap
filtering trilinear
colour_op alpha_blend
}

}

}
}
It's probably like a really easy fix, but idk. DX


Signature by: Marija, thank you!! <3
Avatar by: Sameth, thank you!! <3
Find me in-game as: Mcgee
Skype: Mcgee27

Offline Shazadah

  • Dedicated Supporter
  • ***
  • Posts: 259
  • Country: us
  • Floof-O-Meter: 11
  • Call me NaruWolf
    • http://shay-wolf.deviantart.com
    • https://www.youtube.com/user/Mid
    • View Profile
Re: Scrolling Preset Mane Wont Work
« Reply #1 on: February 19, 2015, 03:02:03 pm »
Have you tried looking here yet--->http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=26062.0?

The code for scrolling from the linked thread has a different set-up than what you have, and I've used that code from the other thread before without complications (of course it took me a bit to figure out how to change the scrolling effect but that's different).

The code for the mane in particular:
Code: [Select]
material preset_#_maneMat
{
technique
{
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture preset_#mane.png
scroll_anim 1.0 1.0
}
}
}
}

Offline mcgee2001

  • Dedicated Supporter
  • ***
  • Posts: 474
  • Country: 00
  • Floof-O-Meter: 22
  • Khalessi Of The Dothraki~
    • View Profile
    • Mcgee's Place
Re: Scrolling Preset Mane Wont Work
« Reply #2 on: February 19, 2015, 04:24:40 pm »
Oh wow. Thanks, that work. :3 +Floof


Signature by: Marija, thank you!! <3
Avatar by: Sameth, thank you!! <3
Find me in-game as: Mcgee
Skype: Mcgee27