Path Tracer

An overview of the Path Tracer in Unreal Engine 4.

Windows
MacOS
Linux

Unreal Engine 4 (UE4) provides a companion tool to the Ray Tracer that includes a full Path Tracer. This tool is useful to generate reference images called a Ground Truth. The Path Tracer is similar to other offline renderers in how it is used, like V-Ray and Arnold. It works by casting many rays into the scene to gather information about light and color to shade a given pixel. Where ray tracing is great for real-time graphics, path tracing techniques are better for generating an unbiased target result because it's not limited by the number of samples it can use, making it good for comparing against real-time ray tracing features. 

Ray Tracer

Path Tracer

Note that in this comparison, some materials or lighting effects are not fully supported at this time.

For artists and programmers, the unbiased nature of the Path Tracer’s ground truth image makes it invaluable to have built right into the Engine for comparison. It also removes the need for additional third-party software or plugins to generate these comparison results. For artists, it means being able to fine-tune materials and lighting setups more quickly. For programmers, it improves workflow and iteration times when tuning and validating the look of their real-time algorithms for techniques like Denoising.

Using the Path Tracer

To use the Path Tracer, first be sure that you meet the prerequisites to do so and then follow the steps to Enable Ray Tracing in your Project that can be found in the Real-Time Ray Tracing documentation.

Enable the Path Tracer from the Level Viewport by selecting the View Modes dropdown and choosing Path Tracing.

PathTracerViewMode

The Path Tracer uses a progressive accumulation method whereby it's continuously adding samples while the camera is not moving. It also uses adaptive sampling to trace additional rays for the pixels that produce a higher amount of noise. 

PathTracerConvergence

The pixels start to fill in with final shading color after a few moments depending on the complexity of the scene and the materials being sampled.

In a Post Process Volume under Rendering Features > Path Tracing, you can set the Max Bounces that rays should travel and the number of Samples Per Pixel that should be used for convergence. 

Snag_5ab390dc.png

For additional information, see Ray Tracing Settings

Additional Notes

Below are some additional considerations when using the in-engine reference Path Tracer.

  • Additional properties and adjustable settings can be found under the under r.PathTracing.* console variables.  

  • The current implementation of the Path Tracer is missing features or workflows that would make it a production-ready replacement for final pixel renders. Instead, it’s current implementation is best suited for comparison reference.

  • The Path Tracer enables future research and development to be considered for content creation workflows such as progressive light builds, cinematic rendering, and even for non-rendering applications such as audio simulation in virtual reality (VR), physics collision and hit detection, and artificial intelligence (AI).

태그

새로운 언리얼 엔진 4 문서 사이트에 오신 것을 환영합니다!

문서 사이트에 대한 의견을 모을 수 있는 피드백 시스템을 포함해서 여러가지 새로운 기능을 준비하고 있습니다. 아래 Documentation Feedback 포럼(영문) 또는 언리얼 엔진 네이버 공식 카페(한글) 중 편하신 곳에 의견이나 문제점을 알려 주세요.

새 시스템이 준비되면 알려 드리겠습니다.

네이버 카페
공식 포럼