From 5fea7c555de42a14a04c0e2dbfa3d0db1d8c5270 Mon Sep 17 00:00:00 2001 From: luboslenco Date: Tue, 26 Nov 2019 21:23:23 +0100 Subject: [PATCH] Update dxr readme --- Assets/readme/readme_dxr.txt | 1 + Sources/arm/ui/UITrait.hx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/readme/readme_dxr.txt b/Assets/readme/readme_dxr.txt index 8ed4b1f8..7574365f 100644 --- a/Assets/readme/readme_dxr.txt +++ b/Assets/readme/readme_dxr.txt @@ -15,6 +15,7 @@ may be sub-par in other areas compared to regular builds. Currently exposed ray-tracing features: - Bake Tool - AO (DXR) +- Viewport Mode - Path-Traced (DXR) ----- diff --git a/Sources/arm/ui/UITrait.hx b/Sources/arm/ui/UITrait.hx index 2b93c9a1..7e52239e 100644 --- a/Sources/arm/ui/UITrait.hx +++ b/Sources/arm/ui/UITrait.hx @@ -1144,7 +1144,7 @@ class UITrait { var modeHandle = Id.handle({position: 0}); var modes = ["Render", "Base Color", "Normal Map", "Occlusion", "Roughness", "Metallic", "TexCoord", "Normal", "MaterialID", "Mask"]; #if kha_direct3d12 - modes.push("Path-traced"); + modes.push("Path-Traced (DXR)"); #end UITrait.inst.viewportMode = ui.combo(modeHandle, modes, "Mode"); if (modeHandle.changed) {