IssuesCategory: MagioHow to deal with shaders that have multiple color properties?
Dramolxe asked 10 months ago

Hey,
This is more of a request, or workaround for a problem that i am facing.
My current character has a shader that has multiple color properties, because the armors on the character can have, 3 types of cloth, leather, metal, and carious others.
I tried to create one compatibility setting for each color property as “main”, and put them in the compatibility list, but this doesn’t work.
It will only work if I have only 1 entry, for 1 color property only. Is there a way that I can make this work for every specified color property on the shader?
SKIN COLOR
EYES COLOR
HAIR COLOR
SCLERA COLOR
LIPS COLOR
SCARS COLOR
METAL 1 COLOR
METAL 2 COLOR
METAL 3 COLOR
LEATHER 1 COLOR
LEATHER 2 COLOR
LEATHER 3 COLOR
CLOTH 1 COLOR
CLOTH 2 COLOR
CLOTH 3 COLOR
GEMS 1 COLOR
GEMS 2 COLOR
GEMS 3 COLOR
FEATHERS 1 COLOR
FEATHERS 2 COLOR
FEATHERS 3 COLOR
COAT OF ARMS COLOR
COAT OF ARMS MASK
Thanks!

1 Answers
Thomas Staff answered 10 months ago

Hey!
This one is rather tricky and maybe it would be worth swapping the shader/material when the effect is enabled. If you want to try animate this shader I would suggest by starting editing the main color property to list and then editing the references. OAVAShaderCompabilitySO Script->ShaderMainColorPropertyName references. 
 
I hope this helps!
 
All the best,
Thomas

Your Answer