Skip to content

Commit 5bf7b77

Browse files
committed
*Implemented Reflective Shadow Maps for one bounce unoccluded indirect lighting
*Poisson kernels are now precomputed at load time instead of being hardcoded *Resources are now loaded on a separate thread during app initialization *Some CSM bug fixes *Added a HDR sky texture LibRenderer changes: *Removed some inlined functions from the public headers *Added profile markers *Render targets can now be created with dynamic sizes that scale to a user specified ratio with respect to the backbuffer's size *Various fixes and optimizations
1 parent 357deb0 commit 5bf7b77

File tree

84 files changed

+3935
-1246
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+3935
-1246
lines changed

GITechDemo/Code/AppMain/GITechDemo/GITechDemo.cpp

Lines changed: 696 additions & 235 deletions
Large diffs are not rendered by default.

GITechDemo/Code/AppMain/GITechDemo/GITechDemo.vcxproj

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,35 +36,41 @@
3636
<ConfigurationType>Application</ConfigurationType>
3737
<UseDebugLibraries>true</UseDebugLibraries>
3838
<CharacterSet>Unicode</CharacterSet>
39+
<PlatformToolset>v120</PlatformToolset>
3940
</PropertyGroup>
4041
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4142
<ConfigurationType>Application</ConfigurationType>
4243
<UseDebugLibraries>true</UseDebugLibraries>
4344
<CharacterSet>Unicode</CharacterSet>
45+
<PlatformToolset>v120</PlatformToolset>
4446
</PropertyGroup>
4547
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
4648
<ConfigurationType>Application</ConfigurationType>
4749
<UseDebugLibraries>false</UseDebugLibraries>
4850
<WholeProgramOptimization>true</WholeProgramOptimization>
4951
<CharacterSet>Unicode</CharacterSet>
52+
<PlatformToolset>v120</PlatformToolset>
5053
</PropertyGroup>
5154
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
5255
<ConfigurationType>Application</ConfigurationType>
5356
<UseDebugLibraries>false</UseDebugLibraries>
5457
<WholeProgramOptimization>true</WholeProgramOptimization>
5558
<CharacterSet>Unicode</CharacterSet>
59+
<PlatformToolset>v120</PlatformToolset>
5660
</PropertyGroup>
5761
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Win32'" Label="Configuration">
5862
<ConfigurationType>Application</ConfigurationType>
5963
<UseDebugLibraries>false</UseDebugLibraries>
6064
<WholeProgramOptimization>true</WholeProgramOptimization>
6165
<CharacterSet>Unicode</CharacterSet>
66+
<PlatformToolset>v120</PlatformToolset>
6267
</PropertyGroup>
6368
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|x64'" Label="Configuration">
6469
<ConfigurationType>Application</ConfigurationType>
6570
<UseDebugLibraries>false</UseDebugLibraries>
6671
<WholeProgramOptimization>true</WholeProgramOptimization>
6772
<CharacterSet>Unicode</CharacterSet>
73+
<PlatformToolset>v120</PlatformToolset>
6874
</PropertyGroup>
6975
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
7076
<ImportGroup Label="ExtensionSettings">
@@ -239,7 +245,7 @@
239245
<Optimization>MaxSpeed</Optimization>
240246
<FunctionLevelLinking>true</FunctionLevelLinking>
241247
<IntrinsicFunctions>true</IntrinsicFunctions>
242-
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
248+
<PreprocessorDefinitions>WIN32;_PROFILE;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
243249
<AdditionalIncludeDirectories>$(SolutionDir)..\Libraries\LibRenderer\SDK\gmtl\include;$(SolutionDir)..\Libraries\LibRenderer\Common;</AdditionalIncludeDirectories>
244250
</ClCompile>
245251
<Link>
@@ -267,7 +273,7 @@
267273
<Optimization>MaxSpeed</Optimization>
268274
<FunctionLevelLinking>true</FunctionLevelLinking>
269275
<IntrinsicFunctions>true</IntrinsicFunctions>
270-
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
276+
<PreprocessorDefinitions>WIN32;_PROFILE;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
271277
<AdditionalIncludeDirectories>$(SolutionDir)..\Libraries\LibRenderer\SDK\gmtl\include;$(SolutionDir)..\Libraries\LibRenderer\Common;</AdditionalIncludeDirectories>
272278
</ClCompile>
273279
<Link>
@@ -294,13 +300,15 @@
294300
<ItemGroup>
295301
<ClInclude Include="GITechDemo.h" />
296302
<ClInclude Include="PerlinNoise.h" />
303+
<ClInclude Include="Poisson.h" />
297304
<ClInclude Include="Resource.h" />
298305
<ClInclude Include="stdafx.h" />
299306
<ClInclude Include="targetver.h" />
300307
</ItemGroup>
301308
<ItemGroup>
302309
<ClCompile Include="GITechDemo.cpp" />
303310
<ClCompile Include="PerlinNoise.cpp" />
311+
<ClCompile Include="Poisson.cpp" />
304312
<ClCompile Include="stdafx.cpp">
305313
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
306314
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
@@ -332,6 +340,16 @@
332340
<None Include="..\..\..\Data\shaders\Skybox.hlsl" />
333341
<None Include="..\..\..\Data\shaders\Utils.hlsl" />
334342
</ItemGroup>
343+
<ItemGroup>
344+
<None Include="..\..\..\Data\shaders\RSMCapture.hlsl">
345+
<FileType>Document</FileType>
346+
</None>
347+
</ItemGroup>
348+
<ItemGroup>
349+
<None Include="..\..\..\Data\shaders\RSMApply.hlsl">
350+
<FileType>Document</FileType>
351+
</None>
352+
</ItemGroup>
335353
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
336354
<ImportGroup Label="ExtensionTargets">
337355
</ImportGroup>

GITechDemo/Code/AppMain/GITechDemo/GITechDemo.vcxproj.filters

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<ClInclude Include="PerlinNoise.h">
3737
<Filter>Header Files</Filter>
3838
</ClInclude>
39+
<ClInclude Include="Poisson.h">
40+
<Filter>Header Files</Filter>
41+
</ClInclude>
3942
</ItemGroup>
4043
<ItemGroup>
4144
<ClCompile Include="stdafx.cpp">
@@ -47,6 +50,9 @@
4750
<ClCompile Include="PerlinNoise.cpp">
4851
<Filter>Source Files</Filter>
4952
</ClCompile>
53+
<ClCompile Include="Poisson.cpp">
54+
<Filter>Source Files</Filter>
55+
</ClCompile>
5056
</ItemGroup>
5157
<ItemGroup>
5258
<ResourceCompile Include="GITechDemo.rc">
@@ -86,5 +92,13 @@
8692
<None Include="..\..\..\Data\shaders\PostProcess.hlsl">
8793
<Filter>Shaders</Filter>
8894
</None>
95+
<None Include="..\..\..\Data\shaders\RSMApply.hlsl">
96+
<Filter>Shaders</Filter>
97+
</None>
98+
</ItemGroup>
99+
<ItemGroup>
100+
<FxCompile Include="..\..\..\Data\shaders\RSMCapture.hlsl">
101+
<Filter>Shaders</Filter>
102+
</FxCompile>
89103
</ItemGroup>
90104
</Project>

0 commit comments

Comments
 (0)