I have this script (*.as)
void AddMRT1OutputInPostopaquePass()
{
for (int i=0; i<procSkyRenderPath.numCommands; i++)
{
if (renderPath.commands[i].pass == "postopaque")
{
renderPath.commands[i].SetOutput(0, "Viewport");
renderPath.commands[i].SetOutput(1, "SunHalo");
}
}
}
and it no work, tells something about missed proc signature