Feral Heart
Help & Guidance => Game Help => Topic started by: Syrinx 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?
-
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.
-
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.
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]