Hi
I have a problem.
I want to display a selection-circle under the feet of the selected unit. But first the circle was cutted by the terrain. So I gave it the mat_near material:
material mat_near
{
effect="
technique test
{ pass p0
{
ZWRITEENABLE =TRUE;
ZFUNC=ALWAYS ;
}
}
";
}
It works good, but the the circle is now also rendered over the unit
how can I fix this?