# Solving Self-Intersection Artifacts in OptiX

**URL:** <https://forums.developer.nvidia.com/t/solving-self-intersection-artifacts-in-optix/267805>\
**Category:** OptiX\
**Created:** [September 27, 2023, 8:00pm UTC](https://forums.developer.nvidia.com/t/solving-self-intersection-artifacts-in-optix/267805 "2023-09-27T20:00:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhart](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/dhart/32/14043_2.png) [@dhart](https://forums.developer.nvidia.com/u/dhart)\
**Post date:** [September 27, 2023, 8:00pm UTC](https://forums.developer.nvidia.com/t/solving-self-intersection-artifacts-in-optix/267805/1 "2023-09-27T20:00:53Z")

</div>

Recently one of our team members published a solution and code examples for how to avoid self-intersection artifacts in OptiX as well as DirectX and Vulkan. Despite having “DirectX” in the title, this works just as well for OptiX and comes with OptiX code.

Description: [Solving Self-Intersection Artifacts in DirectX Raytracing | NVIDIA Technical Blog](https://developer.nvidia.com/blog/solving-self-intersection-artifacts-in-directx-raytracing/)

OptiX code: [GitHub - NVIDIA/otk-shader-util: Vector math and other CUDA helper functions for OptiX kernels](https://github.com/NVIDIA/otk-shader-util/#self-intersection-avoidance)

–  
David.

---

<div class="post-metadata">

**Author:** ![dhart](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/dhart/32/14043_2.png) [@dhart](https://forums.developer.nvidia.com/u/dhart)\
**Post date:** [September 27, 2023, 8:01pm UTC](https://forums.developer.nvidia.com/t/solving-self-intersection-artifacts-in-optix/267805/2 "2023-09-27T20:01:11Z")

</div>

Pinned on September 27, 2023, 8:01pm UTC


