UE4开启实时光线追踪

系统要求:

1、Windows 10 RS5 (Build 1809) or later

2、NVIDIA RTX and some GTX series cards with DXR support using the latest device drivers.

image.png

3、UE Version 4.22 or later

启用光线追踪:

1、ProjectSettings设置Default RHI 为DirectX12

image.png

2、启用Ray Tracing

image.png

Notice:为了启用RayTracing,要先启用SupportCompute Skincache。如果没启用,会弹出一个小窗(见下图),问你是否要启用skin cache,点击Yes就行了。

image.png

3、重启UE4

使用光线追踪:

1、添加PostProcess Volumes到场景

2、在Details面板找到Rendering Features进行设置

image.png

3、还有灯光的设置等见https://docs.unrealengine.com/en-US/Engine/Rendering/RayTracing/index.html

4、Actors启用Visible in Ray Tracing

image.png

Ray Tracing (Reflection 、Shadow、GI)的原理:

英伟达传送门:https://www.nvidia.com/en-us/geforce/news/geforce-gtx-dxr-ray-tracing-available-now/

HDRIBackdrop

开启前:

image.png

开启后:

image.png

评论回复