Author Topic: Preset Problems: Body Disappearing/Becoming Invisible Underwater  (Read 912 times)

Offline GigglesTheHyena

  • Familiar Grounds Dweller
  • **
  • Posts: 99
  • Country: us
  • Floof-O-Meter: 0
    • AuBurneyTheHyena
    • GigglesTheHyena
    • View Profile
I have the same code, save for the preset numbers inserted, for the material file for every preset, but only one preset has the body disappearing underwater, no matter what I do! I tried everything from recreating the preset's body to checking the material file constantly to checking the preset itself. For the body, I use the same body on two presets, but for some reason, the body disappears on one of them while remaining fine on the other when the character is submerged in water.

Here is the code for Preset III (3), the preset that's okay:

material preset_3_bodyMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3body.jpg
         }
      }
   }
}
material preset_3_bodyMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3body.jpg
         }
      }
   }
}
material preset_3_headMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3head.jpg
         }
      }
   }
}
material preset_3_headMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3head.jpg
         }
      }
   }
}
material preset_3_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture preset_3eyeL.png
         }
      }
   }
}
material preset_3_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture preset_3eyeR.png
         }
      }
   }
}
material preset_3_tailMat
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3tail.jpg
         }
      }
   }
}
material preset_3_maneMat
{
   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
         alpha_rejection greater_equal 128
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_3mane.png
         }
      }
   }
}


And here's the code for Preset XII (12), the preset with the problem:

material preset_12_bodyMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_12body.jpg
         }
      }
   }
}
material preset_12_bodyMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_12body.jpg
         }
      }
   }
}
material preset_12_headMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_12head.jpg
         }
      }
   }
}
material preset_12_headMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_12head.jpg
         }
      }
   }
}
material preset_12_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture preset_12eyeL.png
         }
      }
   }
}
material preset_12_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture preset_12eyeR.png
         }
      }
   }
}
material preset_12_tailMat
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_12tail.jpg
         }
      }
   }
}
material preset_12_maneMat
{
   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
         alpha_rejection greater_equal 128
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_12mane.png
         }
      }
   }
}
material preset_12_equipMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_12equip.jpg
         }
      }
   }
}
material preset_12_equipMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_12equip.jpg
         }
      }
   }
}
« Last Edit: January 06, 2022, 01:23:48 am by GigglesTheHyena »

Meet Chubster! © ChekachekaFisi/GigglesTheHyena
T.U.F.F. Puppy © Butch Hartman
What's up, y'all! T.U.F.F. Puppy Fan & Animal Lover here! Like This Adorable Genderless OC? Check out my deviantart! @AuBurneyTheHyena.deviantart.com/

Offline toonanimals317

  • The Fandom Queen
  • Finest Floof
  • ***
  • Posts: 508
  • Country: us
  • Floof-O-Meter: 48
  • What is grief, if not love persevering?
    • toonanimals317
    • randomnessandfandoms
    • Toonanimals
    • View Profile
Re: Preset Problems: Body Disappearing/Becoming Invisible Underwater
« Reply #1 on: January 06, 2022, 05:10:31 pm »
Hey could you send some screenshots of what both presets looks like in the water? It might help me better understand what's going wrong!

Other Accounts - ImTheHero, Wolfshadow317, & AgentWashington - Say hi!
Sig by CheetusPeepus on Tumblr, Profile Pic lines by AViciousFox on DeviantArt

My Presets!