Allows us to sample color of the screen pixel and store it locally on a raw image. After that it can be used to recolor other objects in the AR scene.
- Clone/download the project
- Open in Unity 2019.4 or later
- Build the scene title "ARScene" on an ARCore compatible device
Based on the work of @programmercert: https://github.com/programmercert/ScreenPointPixel
- The eye dropper image UI included which indicates which screen pixel is selected.
- Screen pixels over all UI elements are ignored for selection.
- Use the selected color to adjust the material on a separate mesh renderer. In this case, a free Mario asset with Skinned Mesh Renderer is used.
- Option to restore the original material colors for all modified mesh renderers.