¿Qué estás buscando?
Unity Platform

Inline Raytracing (Metal Support)

Apr 14, 2025
Under Consideration
Safe harbor statement

The following is intended for informational purposes only, and may not be incorporated into any contract. No purchasing decisions should be made based on the following materials. Unity is not committing to deliver any functionality, features or code. The development, timing and release of all products, functionality and features are at the sole discretion of Unity, and are subject to change.

How to share roadmap feedback

If you have accepted to use functional cookies and logged in using your Unity ID at the top right of the page, then sharing feedback is as simple as clicking a card below, selecting a topic’s importance, adding your point of view, and submitting. If you prefer not to accept functional cookies or log in, you will be prompted to enter an email address and validate it, so we know how to reach out when the topic evolves. For more information read the Feedback and privacy terms.

Summary

DXR 1.0 traditionally works by dynamically executing shaders on hit/miss, via indexing into shader tables. DXR 1.1 introduces support for ‘inline ray tracing’ which allows to instantiate and configure ray queries in any shader stage, in order to traverse the provided acceleration structures, and implement the desired on hit / miss functionality.

In cases with lower shader complexity (fewer, less complex miss/hit shaders), Inline ray tracing allows to avoid the overhead of dynamic shader setup and execution, providing a convenient and efficient way to utilize hardware-accelerated ray tracing for more simplified use-case, as well as for generic implementations via compute.

Intended Outcome / Usecases

  • Ray queries can be used in compute shaders in order to implement hardware accelerated ray-triangle intersection tests, when targeting capable Metal platforms.
Help us deliver the deliver that matter to you. Let us know how important is this for you.
By submitting you agree to the Unity’s feedback terms and privacy policy.
Discover upcoming updates and share your feedback