Download

Get Pixel Color From UVs

Hi,
I’d like a BP that would take a UV Coordinate
and a Texture and return the RGB of the pixel that falls under the UV.
Any suggestions?
Cheers,
-Ricardo

That sounds like it’s not possible in Blueprint only.

What exactly are you trying to do here?

I wrote some C++ code a while ago that got the Vertex Color from a Vertex Painted model/texture.
And I know that this is definitely not possible in Blueprints without C++.

Is that what you want?

Yep Actually I prefer to use c++
thanks in advance,
-A

Check if that helps you:

Header: http://pastebin.com/k0ZLzNUd
CPP: http://pastebin.com/ek7Ln5TX

I think OP means actual Texel RGB and not an interpolated Vertex Colour.

Well, can’t hurt to share the code anyway :stuck_out_tongue: