RayCastWithoutPhysics

Author: Antony Stewart

Description
Raycast using pixel color, moves a small colored square in raycast fashion at different distances towards your pixel until it finds the pixel objects Z buffer distance, and looks for colliders in that zone, takes about 15 frames for 0.03 distance precision, because one frame is required to change occluding square's distance and check color. Bounds checking code can be abit changed at the end for more precision.

Usage
place on unity gameobject and click any colored object.