Can I extract color or material data from a raycast collision

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ambake001

Hello,
I am hoping that someone may be able to help answer the question if it is possible for me to get pixel color value information (preferably) or even just the material name using a raycast collision? any links or guidance would be hugely appreciated at this point.

:bust_in_silhouette: Reply From: yrtv

https://www.reddit.com/r/godot/comments/bqgtoo/how_would_i_go_about_getting_the_material_of_an/

That is perfect thank you so much

ambake001 | 2021-02-10 11:22