Yes, you can use this material effect:
Code:
 
material mat_near
{
effect="
technique test
{
pass p0
{
ZWRITEENABLE =TRUE;
ZFUNC=ALWAYS;
}
}
";
}



once I asked the the same question in this tread


- A6pro 6.40.5