1
1
1kvin2016-04-11 14:31:23
C++ / C#
1kvin, 2016-04-11 14:31:23

[Unity3d] How to determine the color on the texture at certain coordinates?

bda2b2a6ec814325abd1173b1a5f688d.png
On the screen, you need to find out the color of the pixel in the places highlighted in red, how to do this?
texture size 1000x1000

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Basmanov, 2016-04-11
@1kvin

Texture2D.GetPixel will give you the color of the pixel.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question