I have a relatively big Texture, and I try to find a certain color pixels pattern: eg. White, Black, White, Green . They are lying next to each other,
If I use Texture2d.Getpixels() on every pixel every frame its possible, but way too slow.
Is there a “real good” way to do this? For example a shader way?