Correct shader params.