Author Topic: Preset Mane Help ^.^  (Read 1916 times)

Offline flower-child

  • Curious Wanderer
  • *
  • Posts: 11
  • Floof-O-Meter: 0
    • View Profile
Preset Mane Help ^.^
« on: September 12, 2015, 12:22:35 am »
So. I've been playing around with scrolling textures lately but I just can't get the mane to work. So far I've got it like this.

https://gyazo.com/6b9208215e01082dfe2759cddf607c06

And that's as far as I have gotten, how can you make it so the tips don't disappear and so it doesn't have that awkward, blocky look to it? (Maybe I have the coding wrong or somethin'? :o")) Any help is much appreciated!

And IiiiIiii will always loVE YOOOUU"

Echoing harmony

  • Guest
Re: Preset Mane Help ^.^
« Reply #1 on: September 12, 2015, 02:05:05 am »
Does your mane code look like this? Just going from jpg to png won't fix it.

Code: [Select]
material preset_#_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_#mane.png
                        }
                }
        }
}

Also, make sure there is actually transparency in the mane file. It should look like this (just a random example from one of my presets):



There shouldn't be anything in the transparent part of the mane, or otherwise it will be blocky.

Hope this helps!

I hope this helps you out dearie c:

Offline Warriorstrike

  • . "The truth is often what we make of it; you heard what you wanted to hear, believed what you wanted to believe."
  • Ancient Silver Mane
  • *****
  • Posts: 4,221
  • Country: us
  • Floof-O-Meter: 346
  • . Remember… the Force will be with you. Always.
    • warriorstrike
    • warriorstrike
    • View Profile
    • My Tumblr
Re: Preset Mane Help ^.^
« Reply #2 on: September 12, 2015, 03:03:03 am »
The transparency sounds like the issue. To add onto what was said above, be sure you're saving the image as a .png (.jpg, by the way, doesn't support transparency) as well. If you need help making it transparent, here and here are a few good tutorials.

If you define yourself by the power to take life, the desire to dominate, to possess… then you have nothing.

Offline flower-child

  • Curious Wanderer
  • *
  • Posts: 11
  • Floof-O-Meter: 0
    • View Profile
Re: Preset Mane Help ^.^
« Reply #3 on: September 12, 2015, 03:34:08 am »
Making it transparent isn't the issue, I know to make it be transparent and to have it saved as a png. It's making it scroll so the texture moves, but only where it's supposed to, not like the gif I attached. I don't want the transparency to move.

And IiiiIiii will always loVE YOOOUU"

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: Preset Mane Help ^.^
« Reply #4 on: September 13, 2015, 08:59:12 pm »
I think I know what the problem is floof. It seems you're just missing a small set of codes. I've made a couple scrolling presets myself, scrolling mane included. Here's what you'll need.

Code: [Select]
material preset_#_maneMat
{
technique
{
pass
{
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 200
texture_unit
{
texture preset_#mane.png
}
}
pass
{
texture_unit
{
texture manescroll.jpg
                                scroll_anim 1.0 1.0
}
}
}
}


Just change the # to whatever preset number it is you're using (easy way to do it all at once is to go to Edit in notepad and click Replace). The manescroll.jpg file should have no transparency in it at all, you may also name this whatever you desire as long as the .material file and the .jpg file names match. Hopefully this will work out for you, good luck floof.