Acquiring texture pixel color

Hello,



I've recently ran into some texture/geometry issues while using jME. I wonder whether my idea of casting a Ray and acquiring PickData of nearest intersection from PickResults, would somehow allow me to get pixel color of the intersecting object texture at the point of intersection? I'm new to jME, so that's why I'm just theorizing. Perhaps if such approach of solving this problem is wrong, someone skilled could point me in correct direction?



thanks in advance,

Peter