This shader is responsible for initializing rays for UV uwrapping and texture baking. This is used as part of the Karma texture baking process.
Unwrap method for UV unwrapping. UV To Surface unwraps the low resolution mesh. Trace Closest Surface (not implemented right now) unwraps the closest surface point along the normal of the UV point on the low resolution mesh. UV Match unwraps the high resolution texture at the point corresponding to the UV point on the low resolution mesh.
Amount to offset the lens position by along the normal at each UV point.
Ray Max Distance
Maximum distance to travel for the trace ray in the Trace Closest Surface unwrap method.
Whether or not to flip the direction of the normal at the UV point