Prototype uses light to gauge composition, density of subsoils