RayTracingAccelerationStructure.BuildSettings.relativeOrigin

public Vector3 relativeOrigin;

Description

The relative origin of ray tracing instances.

This value is subtracted from the original instance position to get the final instance position. If you do camera-relative ray tracing, you can use relativeOrigin to get more accurate ray-geometry intersection results.


Did you find this page useful? Please give it a rating: