Author Topic: Transparent presets won't work! (SOLVED)  (Read 806 times)

Offline spectree

  • Forum Newcomer
  • *
  • Posts: 2
  • Country: no
  • Floof-O-Meter: 0
  • My Strange Addiction; Wanting To Be In Gingaverse
    • gingaspectree
    • spectree*
    • View Profile
Transparent presets won't work! (SOLVED)
« on: November 10, 2018, 01:29:15 pm »
I decided to make a FH preset out of my fellow Ginga OC, Kaizoku. (Can be seen on my pfp)
I spent half an hour looking for tutorials that had not been removed and was easy to understand.




When I decided that I was finished, I tested it in Preset Maker, but then I see the black leg....







I've tried to look for any solutions in the comments, but then they keep talking about black and yellow legs.

And of course, there are people talking about white legs as well.


I've tried pretty much everything. I've checked the coding, etc. I'm not sure if the code is outdated, or if codes on FH even can get outdated. Here's my code;


Code: [Select]
material preset_5_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture TransparentBodyL.png
}
}
}
}
material preset_5_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture TransparentBodyR.png
}
}
}
}
material preset_5_headMatL
{
technique
{
pass
{
texture_unit
{
texture preset_5headL.png
}
}
}
}
material preset_5_headMatR
{
technique
{
pass
{
texture_unit
{
texture preset_5headR.png
}
}
}
}
material preset_5_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_5eyeL.png
}
}
}
}
material preset_5_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_5eyeR.png
}
}
}
}
material preset_5_tailMat
{
technique
{
pass
{
texture_unit
{
texture TransparentTail.png
}
}
}
}
material preset_5_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_5mane.png
}
}
}
}
material preset_5_bodyMatL
{
      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.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture TransparentbodyL.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}
   texture_unit
   {
    texture TransparentbodyL.png
   }
  }
 }
}
material preset_5_bodyMatR
{
 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.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture TransparentBodyR.png
                         tex_address_mode wrap
                         filtering trilinear
   }
    texture TransparentBodyR.png
   }
  }
 }
}
material preset_5_headMatL
{
      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.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture Transparenthead.png
                         tex_address_mode wrap
                         filtering trilinear
   }
    texture Transparenthead.png
   }
  }
 }
}
material preset_5_headMatR
{
 
      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.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture Transparenthead.png
                         tex_address_mode wrap
                         filtering trilinear
   }
    texture Transparenthead.png
   }
  }
 }
}
material preset_5_eyeMatL
{ 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.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture eyes.png
                         tex_address_mode wrap
                         filtering trilinear
   }
    texture Transparenteye.png
   }
  }
 }
}
material preset_5_eyeMatR
{
  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.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture eyes.png
                         tex_address_mode wrap
                         filtering trilinear
   }
    texture Transparenteye.png
   }
  }
 }
}
material preset_5_tailMat
{
 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.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture TransparentTail.png
                         tex_address_mode wrap
                         filtering trilinear
         }
    texture TransparentTail.png
   }
  }
 }
}
material preset_5_maneMat
{
 technique
 {
  pass
  {
   lighting off
   cull_hardware none
   cull_software none
   scene_blend alpha_blend
   depth_write off
   texture_unit
   {
    texture GuideMane.png
   }
  }
 }
}


The tail is black as well cause I needed to do a short tail. The name on the files are different as well cause that was one of the methods I tried. If someone could fix this for me, that would be great. <3


Like I said, the preset names are quite different. Here's what they are called;

Body right; TransparentBodyR
Body left; TransparentBodyL
Tail; TransparentTail



I'm also sorry if this was the wrong place to post it. I'm pretty sure It's not.



Edit: Forgot to link the tutorial. >-> https://feral-heart.com/smf/index.php?topic=5656.0
« Last Edit: November 10, 2018, 08:39:56 pm by spectree »


Lineart: Yoshihiro Takahashi
OC: spectree

Offline PrettyReckless

  • Elder Grey Pelt
  • ****
  • Posts: 3,285
  • Country: england
  • Floof-O-Meter: 218
    • RecklessAce
    • View Profile
Re: Transparent presets won't work!
« Reply #1 on: November 10, 2018, 03:58:03 pm »
Did you see this tutorial made by Ruby?
https://feral-heart.com/smf/index.php?topic=26062.msg467116#msg467116

It is my go-to tutorial when messing around with presets.
RETIRED.

Offline Puffythewolf

  • Dedicated Supporter
  • ***
  • Posts: 269
  • Country: us
  • Floof-O-Meter: 15
  • .*. Pico,, .*.
    • View Profile
Re: Transparent presets won't work!
« Reply #2 on: November 10, 2018, 04:11:45 pm »
I think you are using the wrong kind of code, make sure to probably look up the coding again
GOOGLE CHROME AHHAHAHHA FUNNY

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: Transparent presets won't work!
« Reply #3 on: November 10, 2018, 04:46:28 pm »
I think I found your problem <3
Try this:

Code: [Select]
material preset_5_bodyMatL
{
      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.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture TransparentbodyL.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}
material preset_5_bodyMatR
{
      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.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture TransparentbodyR.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}
material preset_5_headMatL
{
      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.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture Transparenthead.png
                         tex_address_mode wrap
                         filtering trilinear
   }
    texture Transparenthead.png
   }
  }
 }
}
material preset_5_headMatR
{
 
      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.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture Transparenthead.png
                         tex_address_mode wrap
                         filtering trilinear
   }
    texture Transparenthead.png
   }
  }
 }
}
material preset_5_eyeMatL
{
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.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture eyes.png
                         tex_address_mode wrap
                         filtering trilinear
   }
  }
 }
}
material preset_5_eyeMatR
{
  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.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture eyes.png
                         tex_address_mode wrap
                         filtering trilinear
   }
  }
 }
}
material preset_5_tailMat
{
 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.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture TransparentTail.png
                         tex_address_mode wrap
                         filtering trilinear
   }
  }
 }
}
material preset_5_maneMat
{
 technique
 {
  pass
  {
   lighting off
   cull_hardware none
   cull_software none
   scene_blend alpha_blend
   depth_write off
   texture_unit
   {
    texture GuideMane.png
   }
  }
 }
}
Profile pic by Edolicious

People don't think the universe be like it is, but it do.


Offline spectree

  • Forum Newcomer
  • *
  • Posts: 2
  • Country: no
  • Floof-O-Meter: 0
  • My Strange Addiction; Wanting To Be In Gingaverse
    • gingaspectree
    • spectree*
    • View Profile
Re: Transparent presets won't work!
« Reply #4 on: November 10, 2018, 08:34:28 pm »
Thanks guys! It worked now!


Lineart: Yoshihiro Takahashi
OC: spectree

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: Transparent presets won't work! (SOLVED)
« Reply #5 on: November 10, 2018, 08:46:07 pm »
Great to hear! Gonna lock up this topic now that the problem has been resolved ^^
Profile pic by Edolicious

People don't think the universe be like it is, but it do.