Getting color range of pixel block in video texture.
Hello,
I'm trying to get a specific pixel average color from a specific 4x4 area in a video texture. It can either be black or white. But because of resolution differences, it might also be grayish. I need to find out more precisely if it's "almost black" or more on the white/light gray side of the spectrum.
I'm very new to c# and unity. I found Texture2D.GetPixel or Texture2D.GetPixels32 might be better, but I'm really confused how I can use that in the way I need to.
Thanks to anyone who can help.
Your answer
Follow this Question
Related Questions
How Do I Get Pixel Color That Includes The SpriteRenderer Color Change? 0 Answers
Windowed Unity program. Getting Color from Desktop. 0 Answers
Turning every color in an image to many GameObjects ? 0 Answers
How to make the text adapt to an alpha shape? 0 Answers
WebCamTexture Quality Not Good 0 Answers