Set Visible in SetTableValue

Hello, everyone, I met a problem
I am using table value to render a actor,
pColorTable->SetTableValue(0, r, g, b, 1.0);
pColorTable->SetTableValue(1, r, g, b, 1.0);
pColorTable->SetTableValue(2, r, g, b, 0.0);
pColorTable->SetTableValue(3, r, g, b, 0.0);
If some the visible in table value set to 1.0, the other set to 0.0, the shown object dislayed are transparent, if all the visible set to 1.0, it works well.
How to solver the problem?