Author Topic: preset asymmetry?  (Read 778 times)

Offline Syrinx

  • Forum Newcomer
  • *
  • Posts: 6
  • Country: us
  • Floof-O-Meter: 1
    • nouveis
    • betajasper
    • jaisapara
    • View Profile
preset asymmetry?
« on: July 09, 2020, 02:00:54 am »
sorry if this is a silly question haha-
basically id like to know how to make asymmetry with presets. specifically the eyes.
i made two different colored eyes for the same preset, but in-game only one of the eyes shows up. its supposed to be green on the right, blue on the left. only the green one shows rn.

i feel like i missed something. how would i get them to be different? do i have to do something in the .material file?


Offline VortexAlive

  • Eevee Knight
  • Honored Hero
  • *****
  • Posts: 5,080
  • Country: us
  • Floof-O-Meter: 180
  • A wild floof has appeared!
    • VortexAlive
    • VortexAlive
    • VortexAlive
    • View Profile
    • VortexAlive is Rawrsome
Re: preset asymmetry?
« Reply #1 on: July 09, 2020, 02:08:48 am »
Yes, it is something in the .material file and would be something like:

~eyeMatL
{image for Left eye}

~eyeMatR
{image for Right eye}

Make sure the L and R are using different images.
For the sake of my own health and interests, I've left FH and I won't be looking back.

Offline Garfield.

  • ✨Magical chihuahua✨
  • Finest Floof
  • ***
  • Posts: 901
  • Country: co
  • Floof-O-Meter: 80
  • hello, it's mac
    • channel/UClsDv82N2aher_4BWUy8KPQ
    • View Profile
Re: preset asymmetry?
« Reply #2 on: July 09, 2020, 02:33:28 am »
Your files name must be different.
Example: EyeL.png  EyeR.png (or any other property)
and in the code you must check the title of the part. For the eye it must look something like this.
Code: [Select]
material preset_2_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture EyeL.png
}
}
}
}
material preset_2_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture EyeR.png
}
}
}
}
of course you can put any name to the file.
Hope you could understand me, I'm not the best explainin' x)[/color]