Material color based on visibility

Alright, thanks for the reply.