aboutsummaryrefslogtreecommitdiff
path: root/samples/D3D12
diff options
context:
space:
mode:
Diffstat (limited to 'samples/D3D12')
-rw-r--r--samples/D3D12/src/Viewer.cpp4
-rw-r--r--samples/D3D12/src/Viewer.vcxproj2
2 files changed, 3 insertions, 3 deletions
diff --git a/samples/D3D12/src/Viewer.cpp b/samples/D3D12/src/Viewer.cpp
index e445ffd..2ad4761 100644
--- a/samples/D3D12/src/Viewer.cpp
+++ b/samples/D3D12/src/Viewer.cpp
@@ -952,8 +952,8 @@ public:
ImGui::DragFloat("PowerExponent", &mAOParams.PowerExponent, 0.05f, 1.f, 8.f);
ImGui::DragFloat("Bias", &mAOParams.Bias, 0.001f, 0, 0.5f);
- ImGui::DragFloat("NearAO", &mAOParams.NearAO, 0.01f, 1.f, 2.f);
- ImGui::DragFloat("FarAO", &mAOParams.FarAO, 0.01f, 1.f, 2.f);
+ ImGui::DragFloat("SmallScaleAO", &mAOParams.SmallScaleAO, 0.01f, 0.f, 2.f);
+ ImGui::DragFloat("LargeScaleAO", &mAOParams.LargeScaleAO, 0.01f, 0.f, 2.f);
bool BlurEnabled = mAOParams.Blur.Enable ? true : false;
ImGui::Checkbox("Blur.Enable", &BlurEnabled);
diff --git a/samples/D3D12/src/Viewer.vcxproj b/samples/D3D12/src/Viewer.vcxproj
index c67ff59..2bb2dfe 100644
--- a/samples/D3D12/src/Viewer.vcxproj
+++ b/samples/D3D12/src/Viewer.vcxproj
@@ -22,7 +22,7 @@
<ProjectGuid>{CFEEDBA7-74CF-4AF1-9A14-0E890CE94DF8}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>hbaop_dx12</RootNamespace>
- <WindowsTargetPlatformVersion>10.0.10240.0</WindowsTargetPlatformVersion>
+ <WindowsTargetPlatformVersion>10.0.10586.0</WindowsTargetPlatformVersion>
<ProjectName>SampleApp_D3D12</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />