Hi, I created a material for enemies and there is a lot of them.
I use a bitmap in memory to locate shadows zones on terrains and it mork perfectly with the player, I ajust diffuse,ambient,..,according their positions on the shadowmap.
But for enemies, they share the same material and I want to modify shaders individually. It is possible? Ambiant and albedo only don't work because I have to darker the diffuse too.
thx in advance!