Renamed shadow map example
This commit is contained in:
parent
3f6b9d0444
commit
b96e370881
6 changed files with 5 additions and 5 deletions
|
|
@ -147,11 +147,11 @@ Demonstrates the use of multiple render targets to fill a G-Buffer for deferred
|
|||
Deferred shading collects all values (color, normal, position) into different render targets in one pass thanks to multiple render targets, and then does all shading and lighting calculations based on these in scree space, thus allowing for much more light sources than traditional forward renderers.
|
||||
<br><br>
|
||||
|
||||
## [Omnidirectional shadow mapping](shadowmap/)
|
||||
## [Omnidirectional shadow mapping](shadowmappingomni/)
|
||||
<img src="./screenshots/shadow_omnidirectional.png" height="96px" align="right">
|
||||
|
||||
Uses a dynamic 32 bit floating point cube map for a point light source that casts shadows in all directions (unlike projective shadow mapping).
|
||||
The cube map faces contain thee distances from the light sources, which are then used in the scene rendering pass to determine if the fragment is shadowed or not.
|
||||
The cube map faces contain the distances from the light sources, which are then used in the scene rendering pass to determine if the fragment is shadowed or not.
|
||||
<br><br>
|
||||
|
||||
## [Spherical environment mapping](sphericalenvmapping/)
|
||||
|
|
|
|||
|
|
@ -568,7 +568,7 @@ HWND VulkanExampleBase::setupWindow(HINSTANCE hinstance, WNDPROC wndproc)
|
|||
wndClass.hInstance = hinstance;
|
||||
wndClass.hIcon = LoadIcon(NULL, IDI_APPLICATION);
|
||||
wndClass.hCursor = LoadCursor(NULL, IDC_ARROW);
|
||||
wndClass.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);
|
||||
wndClass.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
|
||||
wndClass.lpszMenuName = NULL;
|
||||
wndClass.lpszClassName = name.c_str();
|
||||
wndClass.hIconSm = LoadIcon(NULL, IDI_WINLOGO);
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@
|
|||
<ClCompile Include="..\base\vulkandebug.cpp" />
|
||||
<ClCompile Include="..\base\vulkanexamplebase.cpp" />
|
||||
<ClCompile Include="..\base\vulkantools.cpp" />
|
||||
<ClCompile Include="shadowmap.cpp" />
|
||||
<ClCompile Include="shadowmappingomni.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\base\vulkandebug.h" />
|
||||
|
|
@ -43,7 +43,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "texturecubemap", "texturecu
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "texturearray", "texturearray\texturearray.vcxproj", "{5E512F97-14DB-4CEE-A495-BD8AED789521}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "shadowmap", "shadowmap\shadowmap.vcxproj", "{7B36E42B-5A35-429D-BCD6-C762BD43B2F5}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "shadowmappingomni", "shadowmappingomni\shadowmappingomni.vcxproj", "{7B36E42B-5A35-429D-BCD6-C762BD43B2F5}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "deferred", "deferred\deferred.vcxproj", "{AF2911F4-33BF-465E-9298-E46D58B929EF}"
|
||||
EndProject
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue