Skip to main content
Home Forums Silverlight Programming Game Development How to invert superimposing colors?
1 replies. Latest Post by sl.ayer on October 30, 2009.
(0)
Grey Matter
Member
39 points
108 Posts
10-29-2009 7:11 PM |
There are text lines over a picture. I need to make these texts be well visible for any picture with any palette. Usually I saw a technique like inverting a text's color depending on a picture's color laying under the text or IOW inverting text's pixels depending on picture's pixels superimposed on them. How it may be done in Silverlight?
sl.ayer
Participant
852 points
164 Posts
10-30-2009 9:55 PM |
You can do it with pixel shader, but I would simply give text contrast background or outline to make sure it is readable.