Find location of pixel color on texture
Is there adny possibility to find world location of specific pixel color on texture? For example if I made red dot on texture. Can I find location of this dot in material?
asked Dec 24 '17 at 02:41 PM in Rendering
What is location in this case? UV coordinate?
If this texture is tiled 4x4, you want to get all 16 locations?
If this texture have many red dots on it, you want to get all this locations or only first one?
Texture is like an array of pixels, and only way to understand is this array contains something - is to process all it's elements, and compare them with desired colors or so.
Answering to your question - yes it is possible, but not with some standard functions and operations.
answered Dec 24 '17 at 04:52 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here