Author Topic: More preset problems...  (Read 2546 times)

Offline MementoMors

  • Curious Wanderer
  • *
  • Posts: 45
  • Country: us
  • Floof-O-Meter: 1
  • cursed goatman
    • Memento-Mors
    • View Profile
    • My Toyhou.se
More preset problems...
« on: August 30, 2017, 03:22:35 am »
I'm making a preset with transparent eyelids, but the left eyelid is still visible.



The code for both eyes looks exactly the same to me, so I'm not sure what's wrong.

Code: [Select]
material preset_10_bodyMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture squidbody.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture squidglow1.png
   }
  }
 }
}
material preset_10_bodyMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture squidbody.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture squidglow1.png
   }
  }
 }
}
material preset_10_headMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture squidhead.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture squidglow4.png
   }
  }
 }
}
material preset_10_headMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture squidhead.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture squidglow4.png
   }
  }
 }
}
material preset_10_eyeMatL
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture squideye.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture squidglow3.png
   }
  }
 }
}
material preset_10_eyeMatR
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture squideye.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture squidglow3.png
   }
  }
 }
}
material preset_10_tailMat
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_10tail.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_10tailglow.png
   }
  }
 }
}
material preset_10_maneMat
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_10mane.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_10maneglow.png
   }
  }
 }
}
material preset_10_equipMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture squidequip.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture squidglow2.png
   }
  }
 }
}
material preset_10_equipMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture squidequip.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture squidglow2.png
   }
  }
 }
}
I'll be the hyena. You'll see.

Offline Hakumi

  • ✩ Just A Virtuous Smol ✩
  • Honored Hero
  • *****
  • Posts: 4,835
  • Country: 00
  • Floof-O-Meter: 130
  • A Smol & Helpful Floof ~
    • leanim3fr3akzoid
    • LeAnim3Fr3akzoid
    • View Profile
Re: More preset problems...
« Reply #1 on: August 30, 2017, 03:39:35 am »
I'm making a preset with transparent eyelids, but the left eyelid is still visible.



The code for both eyes looks exactly the same to me, so I'm not sure what's wrong.

Code: [Select]
material preset_10_bodyMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture squidbody.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture squidglow1.png
   }
  }
 }
}
material preset_10_bodyMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture squidbody.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture squidglow1.png
   }
  }
 }
}
material preset_10_headMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture squidhead.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture squidglow4.png
   }
  }
 }
}
material preset_10_headMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture squidhead.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture squidglow4.png
   }
  }
 }
}
material preset_10_eyeMatL
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture squideye.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture squidglow3.png
   }
  }
 }
}
material preset_10_eyeMatR
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture squideye.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture squidglow3.png
   }
  }
 }
}
material preset_10_tailMat
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_10tail.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_10tailglow.png
   }
  }
 }
}
material preset_10_maneMat
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_10mane.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_10maneglow.png
   }
  }
 }
}
material preset_10_equipMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture squidequip.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture squidglow2.png
   }
  }
 }
}
material preset_10_equipMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture squidequip.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture squidglow2.png
   }
  }
 }
}




Try renaming one of the files / saving it as a different eye file name and see if it does the same thing. Sometimes closing and then opening up the game does the trick because it could be a little glitch.

Keep on traveling across this road called 'Life.'

Discord: Haku - Haku#74O7

Offline MementoMors

  • Curious Wanderer
  • *
  • Posts: 45
  • Country: us
  • Floof-O-Meter: 1
  • cursed goatman
    • Memento-Mors
    • View Profile
    • My Toyhou.se
Re: More preset problems...
« Reply #2 on: August 30, 2017, 03:56:56 am »
I'm not sure what you mean. I made copies of the eye files and renamed them, then changed the code to match. The eyes ended up with the black and yellow missing texture. Also, resetting the game doesn't help.
I'll be the hyena. You'll see.

Offline Hakumi

  • ✩ Just A Virtuous Smol ✩
  • Honored Hero
  • *****
  • Posts: 4,835
  • Country: 00
  • Floof-O-Meter: 130
  • A Smol & Helpful Floof ~
    • leanim3fr3akzoid
    • LeAnim3Fr3akzoid
    • View Profile
Re: More preset problems...
« Reply #3 on: August 30, 2017, 04:08:42 am »
I'm not sure what you mean. I made copies of the eye files and renamed them, then changed the code to match. The eyes ended up with the black and yellow missing texture. Also, resetting the game doesn't help.


When I said to rename at least one of the eye file ( in your preset / material file ) just add like a number at the end. But once you do that, you need to make sure they everything matches, including the file name ( picture ) for the preset as well. Changing just the material file won't work. The black & white usually means there was an error in the coding. So make sure that everything is matching correctly.
Do you have pictures that you can show that's in your preset folder for a visual?

Keep on traveling across this road called 'Life.'

Discord: Haku - Haku#74O7

Offline MementoMors

  • Curious Wanderer
  • *
  • Posts: 45
  • Country: us
  • Floof-O-Meter: 1
  • cursed goatman
    • Memento-Mors
    • View Profile
    • My Toyhou.se
Re: More preset problems...
« Reply #4 on: August 30, 2017, 04:20:16 am »
Okay. I added a one to the eye image, in the code and in the folder, but it didn't help so I changed it back.

These are the images in my folder right now:



The code is the same as it was when i first posted it.
I'll be the hyena. You'll see.

Offline Hakumi

  • ✩ Just A Virtuous Smol ✩
  • Honored Hero
  • *****
  • Posts: 4,835
  • Country: 00
  • Floof-O-Meter: 130
  • A Smol & Helpful Floof ~
    • leanim3fr3akzoid
    • LeAnim3Fr3akzoid
    • View Profile
Re: More preset problems...
« Reply #5 on: August 30, 2017, 04:30:26 am »
Okay. I added a one to the eye image, in the code and in the folder, but it didn't help so I changed it back.

These are the images in my folder right now:



The code is the same as it was when i first posted it.




Try copying the coding onto a blank notepad and name it the exact same thing as the original material and see if that helps. ( Make sure you don't have both material files in the same folder and see if that does anything.

Keep on traveling across this road called 'Life.'

Discord: Haku - Haku#74O7

Offline MementoMors

  • Curious Wanderer
  • *
  • Posts: 45
  • Country: us
  • Floof-O-Meter: 1
  • cursed goatman
    • Memento-Mors
    • View Profile
    • My Toyhou.se
Re: More preset problems...
« Reply #6 on: August 30, 2017, 04:37:54 am »
That didn't help either.
I'll be the hyena. You'll see.

Offline Hakumi

  • ✩ Just A Virtuous Smol ✩
  • Honored Hero
  • *****
  • Posts: 4,835
  • Country: 00
  • Floof-O-Meter: 130
  • A Smol & Helpful Floof ~
    • leanim3fr3akzoid
    • LeAnim3Fr3akzoid
    • View Profile
Re: More preset problems...
« Reply #7 on: August 30, 2017, 04:48:47 am »
That didn't help either.



My other option would to see if it does the same thing in another preset folder..
Also, try keeping the 'preset_10body.png.' etc just in case that's causing it despite it working so far currently. I've rarely changed that part in my material folder. I try to name everything similar. As I said, make sure everything is matching to a 'T.'

Keep on traveling across this road called 'Life.'

Discord: Haku - Haku#74O7

Offline MementoMors

  • Curious Wanderer
  • *
  • Posts: 45
  • Country: us
  • Floof-O-Meter: 1
  • cursed goatman
    • Memento-Mors
    • View Profile
    • My Toyhou.se
Re: More preset problems...
« Reply #8 on: August 30, 2017, 05:14:30 am »
Alright, I moved everything to a different folder and changed the code. I also renamed everything to be 'preset_9' instead of 'squid'.
So now, the images are like this:



And the code is like this:

Code: [Select]
material preset_9_bodyMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9body.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9bodyglow.png
   }
  }
 }
}
material preset_9_bodyMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9body.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9bodyglow.png
   }
  }
 }
}
material preset_9_headMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9head.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9headglow.png
   }
  }
 }
}
material preset_9_headMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9head.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9headglow.png
   }
  }
 }
}
material preset_9_eyeMatL
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9eye.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9eyeglow.png
   }
  }
 }
}
material preset_9_eyeMatR
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9eye.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9eyeglow.png
   }
  }
 }
}
material preset_9_tailMat
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9tail.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9tailglow.png
   }
  }
 }
}
material preset_9_maneMat
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_9mane.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9maneglow.png
   }
  }
 }
}
material preset_9_equipMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9equip.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9equipglow.png
   }
  }
 }
}
material preset_9_equipMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9equip.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9equipglow.png
   }
  }
 }
}

And the problem is still there.
I'll be the hyena. You'll see.

Offline Hakumi

  • ✩ Just A Virtuous Smol ✩
  • Honored Hero
  • *****
  • Posts: 4,835
  • Country: 00
  • Floof-O-Meter: 130
  • A Smol & Helpful Floof ~
    • leanim3fr3akzoid
    • LeAnim3Fr3akzoid
    • View Profile
Re: More preset problems...
« Reply #9 on: August 30, 2017, 05:26:05 am »
Alright, I moved everything to a different folder and changed the code. I also renamed everything to be 'preset_9' instead of 'squid'.
So now, the images are like this:



And the code is like this:

Code: [Select]
material preset_9_bodyMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9body.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9bodyglow.png
   }
  }
 }
}
material preset_9_bodyMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9body.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9bodyglow.png
   }
  }
 }
}
material preset_9_headMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9head.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9headglow.png
   }
  }
 }
}
material preset_9_headMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9head.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9headglow.png
   }
  }
 }
}
material preset_9_eyeMatL
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9eye.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9eyeglow.png
   }
  }
 }
}
material preset_9_eyeMatR
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9eye.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9eyeglow.png
   }
  }
 }
}
material preset_9_tailMat
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9tail.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9tailglow.png
   }
  }
 }
}
material preset_9_maneMat
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_9mane.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9maneglow.png
   }
  }
 }
}
material preset_9_equipMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9equip.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9equipglow.png
   }
  }
 }
}
material preset_9_equipMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_9equip.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_9equipglow.png
   }
  }
 }
}

And the problem is still there.




Hm... then I'm stumped. Usually when something like that happens, I just change it out or maybe even change renders.. Sometimes the problem goes away after I export it. Sorry I wasn't much help, I'm probably overlooking something minor ...
Good Luck on finding a solution though o;

Keep on traveling across this road called 'Life.'

Discord: Haku - Haku#74O7