Author Topic: Preset problem  (Read 1270 times)

Offline Arkham_Scout

  • Finest Floof
  • ***
  • Posts: 654
  • Country: us
  • Floof-O-Meter: 33
  • Yes, I am back
    • View Profile
    • my toyhou.se
Preset problem
« on: December 03, 2018, 03:14:08 am »
I made my first preset and well, the mane is inside out. there a way to fix it?




Idk what to do

this what it shows
Code: [Select]
material preset_10_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_10body.jpg
}
}
}
}
material preset_10_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_10body.jpg
}
}
}
}
material preset_10_headMatL
{
technique
{
pass
{
texture_unit
{
texture preset_10head.jpg
}
}
}
}
material preset_10_headMatR
{
technique
{
pass
{
texture_unit
{
texture preset_10head.jpg
}
}
}
}
material preset_10_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_10eye.jpg
}
}
}
}
material preset_10_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_10eye.jpg
}
}
}
}
material preset_10_tailMat
{
technique
{
pass
{
texture_unit
{
texture preset_10tail.jpg
}
}
}
}
material preset_10_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_10mane.png
}
}
}
}
« Last Edit: December 03, 2018, 03:41:56 am by GalaxyScout »

AlphaEclipse

  • Guest
Re: Preset problem
« Reply #1 on: December 03, 2018, 03:32:01 am »
Hello, could you possibly post the code you are using in the .mat file for your preset's mane? You can access the file by opening it with Notepad or another text editing program. It is difficult to see what you mean by inside out---I am guessing it is almost see-through? If this isn't the case, could you upload the UV file you are using?

You could possibly try using this code if you aren't already:
Code: [Select]
material preset_#_maneMat
{
 technique
 {
  pass
  {
   lighting off
   cull_hardware none
   cull_software none
   scene_blend alpha_blend
   depth_write off
   texture_unit
   {
    texture preset_#mane.png
   }
  }
 }
}

Offline Arkham_Scout

  • Finest Floof
  • ***
  • Posts: 654
  • Country: us
  • Floof-O-Meter: 33
  • Yes, I am back
    • View Profile
    • my toyhou.se
Re: Preset problem
« Reply #2 on: December 03, 2018, 03:34:04 am »
I used gimp to make preset and thank you I would try it out
« Last Edit: December 03, 2018, 03:39:57 am by GalaxyScout »

AlphaEclipse

  • Guest
Re: Preset problem
« Reply #3 on: December 03, 2018, 03:40:32 am »
Gimp shouldn't be a problem, as long as the file is saved as a .png. If you are already using the code above, try using this one as well:
Code: [Select]
material preset_#_maneMat
{
        technique
        {
                pass
                {
                       cull_hardware none
                       cull_software none
                       alpha_rejection greater_equal 128
                       texture_unit
                       {
                                texture preset_#mane.png
                }
          }
     }
}
Let us know if either works! :)

Offline Arkham_Scout

  • Finest Floof
  • ***
  • Posts: 654
  • Country: us
  • Floof-O-Meter: 33
  • Yes, I am back
    • View Profile
    • my toyhou.se
Re: Preset problem
« Reply #4 on: December 03, 2018, 03:49:14 am »
Gimp shouldn't be a problem, as long as the file is saved as a .png. If you are already using the code above, try using this one as well:
Code: [Select]
material preset_#_maneMat
{
        technique
        {
                pass
                {
                       cull_hardware none
                       cull_software none
                       alpha_rejection greater_equal 128
                       texture_unit
                       {
                                texture preset_#mane.png
                }
          }
     }
}
Let us know if either works! :)

it worked but now the mane pure white

AlphaEclipse

  • Guest
Re: Preset problem
« Reply #5 on: December 03, 2018, 03:54:43 am »
It must just not be recognizing your preset mane UV file. Since I see you are using the Preset 10 folder according to your original edit, here is a revised version that should match your file specifically. What is in red it what I have edited.
Quote
material preset_10_maneMat
{
        technique
        {
                pass
                {
                       cull_hardware none
                       cull_software none
                       alpha_rejection greater_equal 128
                       texture_unit
                       {
                                texture preset_10mane.png
                }
          }
     }
}

Offline Arkham_Scout

  • Finest Floof
  • ***
  • Posts: 654
  • Country: us
  • Floof-O-Meter: 33
  • Yes, I am back
    • View Profile
    • my toyhou.se
Re: Preset problem
« Reply #6 on: December 03, 2018, 03:55:44 am »
It must just not be recognizing your preset mane UV file. Since I see you are using the Preset 10 folder according to your original edit, here is a revised version that should match your file specifically. What is in red it what I have edited.
Quote
material preset_10_maneMat
{
        technique
        {
                pass
                {
                       cull_hardware none
                       cull_software none
                       alpha_rejection greater_equal 128
                       texture_unit
                       {
                                texture preset_10mane.png
                }
          }
     }
}

thank you, I hope it works

Offline Arkham_Scout

  • Finest Floof
  • ***
  • Posts: 654
  • Country: us
  • Floof-O-Meter: 33
  • Yes, I am back
    • View Profile
    • my toyhou.se
Re: Preset problem
« Reply #7 on: December 03, 2018, 03:58:10 am »
It must just not be recognizing your preset mane UV file. Since I see you are using the Preset 10 folder according to your original edit, here is a revised version that should match your file specifically. What is in red it what I have edited.
Quote
material preset_10_maneMat
{
        technique
        {
                pass
                {
                       cull_hardware none
                       cull_software none
                       alpha_rejection greater_equal 128
                       texture_unit
                       {
                                texture preset_10mane.png
                }
          }
     }
}

it works thank you

AlphaEclipse

  • Guest
Re: Preset problem
« Reply #8 on: December 03, 2018, 03:59:40 am »
No problem! If there are any other issues with the preset coding feel free to message me personally.

Offline Arkham_Scout

  • Finest Floof
  • ***
  • Posts: 654
  • Country: us
  • Floof-O-Meter: 33
  • Yes, I am back
    • View Profile
    • my toyhou.se
Re: Preset problem
« Reply #9 on: December 03, 2018, 04:05:36 am »
No problem! If there are any other issues with the preset coding feel free to message me personally.

alright, thank you ^^