Scene correction. Transparent planes. passRay function