Passing Information from Object Material to Post Process Material

What about writing to the vertex?