实例介绍
【实例简介】
从网上淘来的HLSL Development Cookbook的源代码
【实例截图】
【核心代码】
4744302543432747979.zip
└── 4209OT_Code bundle
├── Chpater 1 - Forward Light
│ ├── Ambient Light
│ │ ├── AmbientLight_2010.sln
│ │ ├── AmbientLight_2010.vcxproj
│ │ ├── AmbientLight_2010.vcxproj.filters
│ │ ├── AmbientLight.cpp
│ │ ├── AmbientLight.exe
│ │ ├── AmbientLight.rc
│ │ ├── directx.ico
│ │ ├── ForwardLight.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ └── SceneManager.h
│ ├── Capsule Light
│ │ ├── CapsuleLight_2010.sln
│ │ ├── CapsuleLight_2010.vcxproj
│ │ ├── CapsuleLight_2010.vcxproj.filters
│ │ ├── CapsuleLight.cpp
│ │ ├── CapsuleLight.exe
│ │ ├── CapsuleLight.hlsl
│ │ ├── CapsuleLight.rc
│ │ ├── DirectionalLight.hlsl
│ │ ├── directx.ico
│ │ ├── ForwardLightCommon.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ └── SpotLight.hlsl
│ ├── Directional Light
│ │ ├── DirectionalLight_2010.sln
│ │ ├── DirectionalLight_2010.vcxproj
│ │ ├── DirectionalLight_2010.vcxproj.filters
│ │ ├── DirectionalLight.cpp
│ │ ├── DirectionalLight.exe
│ │ ├── DirectionalLight.rc
│ │ ├── directx.ico
│ │ ├── ForwardLight.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ └── SceneManager.h
│ ├── Multiple Lights Single Pass
│ │ ├── DirectionalLight.hlsl
│ │ ├── directx.ico
│ │ ├── ForwardLightCommon.hlsl
│ │ ├── FourLight.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── MultiLightSinglePass_2010.sln
│ │ ├── MultiLightSinglePass_2010.vcxproj
│ │ ├── MultiLightSinglePass_2010.vcxproj.filters
│ │ ├── MultiLightSinglePass.cpp
│ │ ├── MultiLightSinglePass.exe
│ │ ├── MultiLightSinglePass.rc
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ └── SceneManager.h
│ ├── Point Light
│ │ ├── DirectionalLight.hlsl
│ │ ├── directx.ico
│ │ ├── ForwardLightCommon.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight_2010.sln
│ │ ├── PointLight_2010.vcxproj
│ │ ├── PointLight_2010.vcxproj.filters
│ │ ├── PointLight.cpp
│ │ ├── PointLight.exe
│ │ ├── PointLight.hlsl
│ │ ├── PointLight.rc
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ └── SceneManager.h
│ └── Spot Light
│ ├── DirectionalLight.hlsl
│ ├── directx.ico
│ ├── ForwardLightCommon.hlsl
│ ├── LightManager.cpp
│ ├── LightManager.h
│ ├── PointLight.hlsl
│ ├── resource.h
│ ├── SceneManager.cpp
│ ├── SceneManager.h
│ ├── SpotLight_2010.sln
│ ├── SpotLight_2010.vcxproj
│ ├── SpotLight_2010.vcxproj.filters
│ ├── SpotLight.cpp
│ ├── SpotLight.exe
│ ├── SpotLight.hlsl
│ └── SpotLight.rc
├── Chpater 2 - Deferred Shading
│ ├── Capsule Light
│ │ ├── CapsuleLight_2010.sln
│ │ ├── CapsuleLight_2010.vcxproj
│ │ ├── CapsuleLight_2010.vcxproj.filters
│ │ ├── CapsuleLight.cpp
│ │ ├── CapsuleLight.exe
│ │ ├── CapsuleLight.hlsl
│ │ ├── CapsuleLight.rc
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ └── SpotLight.hlsl
│ ├── Directional Light
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── DirectionalLight_2010.sln
│ │ ├── DirectionalLight_2010.vcxproj
│ │ ├── DirectionalLight_2010.vcxproj.filters
│ │ ├── DirectionalLight.cpp
│ │ ├── DirectionalLight.exe
│ │ ├── DirectionalLight.rc
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ └── SceneManager.h
│ ├── Point Light
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight_2010.sln
│ │ ├── PointLight_2010.vcxproj
│ │ ├── PointLight_2010.vcxproj.filters
│ │ ├── PointLight.cpp
│ │ ├── PointLight.exe
│ │ ├── PointLight.hlsl
│ │ ├── PointLight.rc
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ └── SceneManager.h
│ └── Spot Light
│ ├── common.hlsl
│ ├── DeferredShading.hlsl
│ ├── directx.ico
│ ├── DirLight.hlsl
│ ├── GBuffer.cpp
│ ├── GBuffer.h
│ ├── GBufferVis.hlsl
│ ├── LightManager.cpp
│ ├── LightManager.h
│ ├── PointLight.hlsl
│ ├── resource.h
│ ├── SceneManager.cpp
│ ├── SceneManager.h
│ ├── SpotLight_2010.sln
│ ├── SpotLight_2010.vcxproj
│ ├── SpotLight_2010.vcxproj.filters
│ ├── SpotLight.cpp
│ ├── SpotLight.exe
│ ├── SpotLight.hlsl
│ └── SpotLight.rc
├── Chpater 3 - Shadow Mapping
│ ├── Cascaded Shadow Maps
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── CascadedShadowMaps_2010.sln
│ │ ├── CascadedShadowMaps_2010.vcxproj
│ │ ├── CascadedShadowMaps_2010.vcxproj.filters
│ │ ├── CascadedShadowMaps.cpp
│ │ ├── CascadedShadowMaps.exe
│ │ ├── CascadedShadowMaps.rc
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ └── SpotLight.hlsl
│ ├── PCF With Varying Penumbra Size
│ │ ├── CapsuleLight.hlsl
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PCFWithVaryingPenumbraSize_2010.sln
│ │ ├── PCFWithVaryingPenumbraSize_2010.vcxproj
│ │ ├── PCFWithVaryingPenumbraSize_2010.vcxproj.filters
│ │ ├── PCFWithVaryingPenumbraSize.cpp
│ │ ├── PCFWithVaryingPenumbraSize.exe
│ │ ├── PCFWithVaryingPenumbraSize.rc
│ │ ├── PointLight.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ └── SpotLight.hlsl
│ ├── Point Light PCF Shadows
│ │ ├── CapsuleLight.hlsl
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PointLightPCFShadows_2010.sln
│ │ ├── PointLightPCFShadows_2010.vcxproj
│ │ ├── PointLightPCFShadows_2010.vcxproj.filters
│ │ ├── PointLightPCFShadows.cpp
│ │ ├── PointLightPCFShadows.exe
│ │ ├── PointLightPCFShadows.rc
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ └── SpotLight.hlsl
│ └── Spot Light PCF Shadows
│ ├── CapsuleLight.hlsl
│ ├── common.hlsl
│ ├── DeferredShading.hlsl
│ ├── directx.ico
│ ├── DirLight.hlsl
│ ├── GBuffer.cpp
│ ├── GBuffer.h
│ ├── GBufferVis.hlsl
│ ├── LightManager.cpp
│ ├── LightManager.h
│ ├── PointLight.hlsl
│ ├── resource.h
│ ├── SceneManager.cpp
│ ├── SceneManager.h
│ ├── ShadowGen.hlsl
│ ├── SpotLight.hlsl
│ ├── SpotLightPCFShadows_2010.sln
│ ├── SpotLightPCFShadows_2010.vcxproj
│ ├── SpotLightPCFShadows_2010.vcxproj.filters
│ ├── SpotLightPCFShadows.cpp
│ ├── SpotLightPCFShadows.exe
│ └── SpotLightPCFShadows.rc
├── Chpater 4 - Post Processing
│ ├── Adaptation
│ │ ├── Adaptation_2010.sln
│ │ ├── Adaptation_2010.vcxproj
│ │ ├── Adaptation_2010.vcxproj.filters
│ │ ├── Adaptation.cpp
│ │ ├── Adaptation.exe
│ │ ├── Adaptation.rc
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ └── SpotLight.hlsl
│ ├── Bloom
│ │ ├── Bloom_2010.sln
│ │ ├── Bloom_2010.vcxproj
│ │ ├── Bloom_2010.vcxproj.filters
│ │ ├── Bloom.cpp
│ │ ├── Bloom.exe
│ │ ├── Bloom.rc
│ │ ├── Blur.hlsl
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ └── SpotLight.hlsl
│ ├── Bokeh
│ │ ├── Blur.hlsl
│ │ ├── Bokeh_2010.sln
│ │ ├── Bokeh_2010.vcxproj
│ │ ├── Bokeh_2010.vcxproj.filters
│ │ ├── Bokeh.cpp
│ │ ├── BokehCS.hlsl
│ │ ├── Bokeh.exe
│ │ ├── Bokeh.hlsl
│ │ ├── Bokeh.rc
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ └── SpotLight.hlsl
│ ├── Depth of Field
│ │ ├── Blur.hlsl
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── DepthOfField_2010.sln
│ │ ├── DepthOfField_2010.vcxproj
│ │ ├── DepthOfField_2010.vcxproj.filters
│ │ ├── DepthOfField.cpp
│ │ ├── DepthOfField.exe
│ │ ├── DepthOfField.rc
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ └── SpotLight.hlsl
│ └── HDR Rendering
│ ├── CapsuleLight.hlsl
│ ├── CascadedMatrixSet.cpp
│ ├── CascadedMatrixSet.h
│ ├── common.hlsl
│ ├── DeferredShading.hlsl
│ ├── directx.ico
│ ├── DirLight.hlsl
│ ├── Emissive.hlsl
│ ├── GBuffer.cpp
│ ├── GBuffer.h
│ ├── GBufferVis.hlsl
│ ├── HDRRendering_2010.sln
│ ├── HDRRendering_2010.vcxproj
│ ├── HDRRendering_2010.vcxproj.filters
│ ├── HDRRendering.cpp
│ ├── HDRRendering.exe
│ ├── HDRRendering.rc
│ ├── LightManager.cpp
│ ├── LightManager.h
│ ├── PointLight.hlsl
│ ├── PostDownScaleFX.hlsl
│ ├── PostFX.cpp
│ ├── PostFX.h
│ ├── PostFX.hlsl
│ ├── resource.h
│ ├── SceneManager.cpp
│ ├── SceneManager.h
│ ├── ShadowGen.hlsl
│ └── SpotLight.hlsl
├── Chpater 5 - Screen Space Effects
│ ├── Lens Flare
│ │ ├── Blur.hlsl
│ │ ├── BokehCS.hlsl
│ │ ├── Bokeh.hlsl
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LensFlare_2010.sln
│ │ ├── LensFlare_2010.suo
│ │ ├── LensFlare_2010.vcxproj
│ │ ├── LensFlare_2010.vcxproj.filters
│ │ ├── LensFlare.cpp
│ │ ├── LensFlare.exe
│ │ ├── Lensflare.hlsl
│ │ ├── LensflareManager.cpp
│ │ ├── LensflareManager.h
│ │ ├── LensFlare.rc
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ ├── SpotLight.hlsl
│ │ ├── SSAO.hlsl
│ │ ├── SSAOManager.cpp
│ │ └── SSAOManager.h
│ ├── Screen Space Ambient Occlusion
│ │ ├── Blur.hlsl
│ │ ├── BokehCS.hlsl
│ │ ├── Bokeh.hlsl
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ScreenSpaceAmbientOcclusion_2010.sln
│ │ ├── ScreenSpaceAmbientOcclusion_2010.vcxproj
│ │ ├── ScreenSpaceAmbientOcclusion_2010.vcxproj.filters
│ │ ├── ScreenSpaceAmbientOcclusion.cpp
│ │ ├── ScreenSpaceAmbientOcclusion.exe
│ │ ├── ScreenSpaceAmbientOcclusion.rc
│ │ ├── ShadowGen.hlsl
│ │ ├── SpotLight.hlsl
│ │ ├── SSAO.hlsl
│ │ ├── SSAOManager.cpp
│ │ └── SSAOManager.h
│ ├── Screen SpACE Light Rays
│ │ ├── Blur.hlsl
│ │ ├── BokehCS.hlsl
│ │ ├── Bokeh.hlsl
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ScreenSpaceLightRays_2010.sln
│ │ ├── ScreenSpaceLightRays_2010.vcxproj
│ │ ├── ScreenSpaceLightRays_2010.vcxproj.filters
│ │ ├── ScreenSpaceLightRays.cpp
│ │ ├── ScreenSpaceLightRays.exe
│ │ ├── ScreenSpaceLightRays.rc
│ │ ├── ShadowGen.hlsl
│ │ ├── SpotLight.hlsl
│ │ ├── SSAO.hlsl
│ │ ├── SSAOManager.cpp
│ │ ├── SSAOManager.h
│ │ ├── SSLR.hlsl
│ │ ├── SSLRManager.cpp
│ │ └── SSLRManager.h
│ └── Screen Space Reflections
│ ├── Blur.hlsl
│ ├── BokehCS.hlsl
│ ├── Bokeh.hlsl
│ ├── CapsuleLight.hlsl
│ ├── CascadedMatrixSet.cpp
│ ├── CascadedMatrixSet.h
│ ├── common.hlsl
│ ├── DeferredShading.hlsl
│ ├── directx.ico
│ ├── DirLight.hlsl
│ ├── Emissive.hlsl
│ ├── GBuffer.cpp
│ ├── GBuffer.h
│ ├── GBufferVis.hlsl
│ ├── Lensflare.hlsl
│ ├── LensflareManager.cpp
│ ├── LensflareManager.h
│ ├── LightManager.cpp
│ ├── LightManager.h
│ ├── PointLight.hlsl
│ ├── PostDownScaleFX.hlsl
│ ├── PostFX.cpp
│ ├── PostFX.h
│ ├── PostFX.hlsl
│ ├── resource.h
│ ├── SceneManager.cpp
│ ├── SceneManager.h
│ ├── ScreenSpaceReflections_2010.sln
│ ├── ScreenSpaceReflections_2010.vcxproj
│ ├── ScreenSpaceReflections_2010.vcxproj.filters
│ ├── ScreenSpaceReflections.cpp
│ ├── ScreenSpaceReflections.exe
│ ├── ScreenSpaceReflections.rc
│ ├── ShadowGen.hlsl
│ ├── SpotLight.hlsl
│ ├── SSAO.hlsl
│ ├── SSAOManager.cpp
│ ├── SSAOManager.h
│ ├── SSReflection.hlsl
│ ├── SSReflectionManager.cpp
│ └── SSReflectionManager.h
├── Chpater 6 - Environment Effects
│ ├── Dynamic Decals
│ │ ├── Blur.hlsl
│ │ ├── BokehCS.hlsl
│ │ ├── Bokeh.hlsl
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DecalGen.hlsl
│ │ ├── DecalManager.cpp
│ │ ├── DecalManager.h
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── DynamicDecals_2010.sln
│ │ ├── DynamicDecals_2010.suo
│ │ ├── DynamicDecals_2010.vcxproj
│ │ ├── DynamicDecals_2010.vcxproj.filters
│ │ ├── DynamicDecals.cpp
│ │ ├── DynamicDecals.exe
│ │ ├── DynamicDecals.rc
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ScreenSpaceAmbientOcclusion_2010.suo
│ │ ├── ShadowGen.hlsl
│ │ ├── SpotLight.hlsl
│ │ ├── SSAO.hlsl
│ │ ├── SSAOManager.cpp
│ │ └── SSAOManager.h
│ ├── Fog
│ │ ├── Blur.hlsl
│ │ ├── BokehCS.hlsl
│ │ ├── Bokeh.hlsl
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── Fog_2010.sln
│ │ ├── Fog_2010.vcxproj
│ │ ├── Fog_2010.vcxproj.filters
│ │ ├── Fog.cpp
│ │ ├── Fog.exe
│ │ ├── Fog.rc
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ ├── SpotLight.hlsl
│ │ ├── SSAO.hlsl
│ │ ├── SSAOManager.cpp
│ │ └── SSAOManager.h
│ └── Rain Simulation
│ ├── Blur.hlsl
│ ├── BokehCS.hlsl
│ ├── Bokeh.hlsl
│ ├── CapsuleLight.hlsl
│ ├── CascadedMatrixSet.cpp
│ ├── CascadedMatrixSet.h
│ ├── common.hlsl
│ ├── DeferredShading.hlsl
│ ├── directx.ico
│ ├── DirLight.hlsl
│ ├── Emissive.hlsl
│ ├── GBuffer.cpp
│ ├── GBuffer.h
│ ├── GBufferVis.hlsl
│ ├── LightManager.cpp
│ ├── LightManager.h
│ ├── PointLight.hlsl
│ ├── PostDownScaleFX.hlsl
│ ├── PostFX.cpp
│ ├── PostFX.h
│ ├── PostFX.hlsl
│ ├── RainManager.cpp
│ ├── RainManager.h
│ ├── RainShaders.hlsl
│ ├── RainSimulation_2010.sln
│ ├── RainSimulation_2010.vcxproj
│ ├── RainSimulation_2010.vcxproj.filters
│ ├── RainSimulation.cpp
│ ├── RainSimulationCS.hlsl
│ ├── RainSimulation.exe
│ ├── RainSimulation.rc
│ ├── resource.h
│ ├── SceneManager.cpp
│ ├── SceneManager.h
│ ├── ShadowGen.hlsl
│ ├── SpotLight.hlsl
│ ├── SSAO.hlsl
│ ├── SSAOManager.cpp
│ └── SSAOManager.h
└── Media
├── ball.sdkmesh
├── Bokeh.dds
├── bunny.sdkmesh
├── Corona.dds
├── Decal.dds
├── Flare.dds
├── Noise.dds
├── OutdoorColumns
│ ├── outdoor_columns.sdkmesh
│ └── white.dds
├── RainStreak.dds
├── Roadblock
│ ├── concrete_roadblock_d.dds
│ ├── roadblock.sdkmesh
│ └── road.dds
├── ScreenSpaceReflect
│ ├── floor.dds
│ ├── room.sdkmesh
│ ├── sphere.sdkmesh
│ └── white.dds
├── Streetlamp
│ ├── streetlamp_emissive.sdkmesh
│ ├── streetlamp.sdkmesh
│ └── white.dds
├── UI
│ ├── arrow.x
│ ├── dxutcontrols.dds
│ ├── DXUTShared.fx
│ └── Font.dds
└── white.dds
39 directories, 700 files
从网上淘来的HLSL Development Cookbook的源代码
【实例截图】
【核心代码】
4744302543432747979.zip
└── 4209OT_Code bundle
├── Chpater 1 - Forward Light
│ ├── Ambient Light
│ │ ├── AmbientLight_2010.sln
│ │ ├── AmbientLight_2010.vcxproj
│ │ ├── AmbientLight_2010.vcxproj.filters
│ │ ├── AmbientLight.cpp
│ │ ├── AmbientLight.exe
│ │ ├── AmbientLight.rc
│ │ ├── directx.ico
│ │ ├── ForwardLight.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ └── SceneManager.h
│ ├── Capsule Light
│ │ ├── CapsuleLight_2010.sln
│ │ ├── CapsuleLight_2010.vcxproj
│ │ ├── CapsuleLight_2010.vcxproj.filters
│ │ ├── CapsuleLight.cpp
│ │ ├── CapsuleLight.exe
│ │ ├── CapsuleLight.hlsl
│ │ ├── CapsuleLight.rc
│ │ ├── DirectionalLight.hlsl
│ │ ├── directx.ico
│ │ ├── ForwardLightCommon.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ └── SpotLight.hlsl
│ ├── Directional Light
│ │ ├── DirectionalLight_2010.sln
│ │ ├── DirectionalLight_2010.vcxproj
│ │ ├── DirectionalLight_2010.vcxproj.filters
│ │ ├── DirectionalLight.cpp
│ │ ├── DirectionalLight.exe
│ │ ├── DirectionalLight.rc
│ │ ├── directx.ico
│ │ ├── ForwardLight.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ └── SceneManager.h
│ ├── Multiple Lights Single Pass
│ │ ├── DirectionalLight.hlsl
│ │ ├── directx.ico
│ │ ├── ForwardLightCommon.hlsl
│ │ ├── FourLight.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── MultiLightSinglePass_2010.sln
│ │ ├── MultiLightSinglePass_2010.vcxproj
│ │ ├── MultiLightSinglePass_2010.vcxproj.filters
│ │ ├── MultiLightSinglePass.cpp
│ │ ├── MultiLightSinglePass.exe
│ │ ├── MultiLightSinglePass.rc
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ └── SceneManager.h
│ ├── Point Light
│ │ ├── DirectionalLight.hlsl
│ │ ├── directx.ico
│ │ ├── ForwardLightCommon.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight_2010.sln
│ │ ├── PointLight_2010.vcxproj
│ │ ├── PointLight_2010.vcxproj.filters
│ │ ├── PointLight.cpp
│ │ ├── PointLight.exe
│ │ ├── PointLight.hlsl
│ │ ├── PointLight.rc
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ └── SceneManager.h
│ └── Spot Light
│ ├── DirectionalLight.hlsl
│ ├── directx.ico
│ ├── ForwardLightCommon.hlsl
│ ├── LightManager.cpp
│ ├── LightManager.h
│ ├── PointLight.hlsl
│ ├── resource.h
│ ├── SceneManager.cpp
│ ├── SceneManager.h
│ ├── SpotLight_2010.sln
│ ├── SpotLight_2010.vcxproj
│ ├── SpotLight_2010.vcxproj.filters
│ ├── SpotLight.cpp
│ ├── SpotLight.exe
│ ├── SpotLight.hlsl
│ └── SpotLight.rc
├── Chpater 2 - Deferred Shading
│ ├── Capsule Light
│ │ ├── CapsuleLight_2010.sln
│ │ ├── CapsuleLight_2010.vcxproj
│ │ ├── CapsuleLight_2010.vcxproj.filters
│ │ ├── CapsuleLight.cpp
│ │ ├── CapsuleLight.exe
│ │ ├── CapsuleLight.hlsl
│ │ ├── CapsuleLight.rc
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ └── SpotLight.hlsl
│ ├── Directional Light
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── DirectionalLight_2010.sln
│ │ ├── DirectionalLight_2010.vcxproj
│ │ ├── DirectionalLight_2010.vcxproj.filters
│ │ ├── DirectionalLight.cpp
│ │ ├── DirectionalLight.exe
│ │ ├── DirectionalLight.rc
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ └── SceneManager.h
│ ├── Point Light
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight_2010.sln
│ │ ├── PointLight_2010.vcxproj
│ │ ├── PointLight_2010.vcxproj.filters
│ │ ├── PointLight.cpp
│ │ ├── PointLight.exe
│ │ ├── PointLight.hlsl
│ │ ├── PointLight.rc
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ └── SceneManager.h
│ └── Spot Light
│ ├── common.hlsl
│ ├── DeferredShading.hlsl
│ ├── directx.ico
│ ├── DirLight.hlsl
│ ├── GBuffer.cpp
│ ├── GBuffer.h
│ ├── GBufferVis.hlsl
│ ├── LightManager.cpp
│ ├── LightManager.h
│ ├── PointLight.hlsl
│ ├── resource.h
│ ├── SceneManager.cpp
│ ├── SceneManager.h
│ ├── SpotLight_2010.sln
│ ├── SpotLight_2010.vcxproj
│ ├── SpotLight_2010.vcxproj.filters
│ ├── SpotLight.cpp
│ ├── SpotLight.exe
│ ├── SpotLight.hlsl
│ └── SpotLight.rc
├── Chpater 3 - Shadow Mapping
│ ├── Cascaded Shadow Maps
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── CascadedShadowMaps_2010.sln
│ │ ├── CascadedShadowMaps_2010.vcxproj
│ │ ├── CascadedShadowMaps_2010.vcxproj.filters
│ │ ├── CascadedShadowMaps.cpp
│ │ ├── CascadedShadowMaps.exe
│ │ ├── CascadedShadowMaps.rc
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ └── SpotLight.hlsl
│ ├── PCF With Varying Penumbra Size
│ │ ├── CapsuleLight.hlsl
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PCFWithVaryingPenumbraSize_2010.sln
│ │ ├── PCFWithVaryingPenumbraSize_2010.vcxproj
│ │ ├── PCFWithVaryingPenumbraSize_2010.vcxproj.filters
│ │ ├── PCFWithVaryingPenumbraSize.cpp
│ │ ├── PCFWithVaryingPenumbraSize.exe
│ │ ├── PCFWithVaryingPenumbraSize.rc
│ │ ├── PointLight.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ └── SpotLight.hlsl
│ ├── Point Light PCF Shadows
│ │ ├── CapsuleLight.hlsl
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PointLightPCFShadows_2010.sln
│ │ ├── PointLightPCFShadows_2010.vcxproj
│ │ ├── PointLightPCFShadows_2010.vcxproj.filters
│ │ ├── PointLightPCFShadows.cpp
│ │ ├── PointLightPCFShadows.exe
│ │ ├── PointLightPCFShadows.rc
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ └── SpotLight.hlsl
│ └── Spot Light PCF Shadows
│ ├── CapsuleLight.hlsl
│ ├── common.hlsl
│ ├── DeferredShading.hlsl
│ ├── directx.ico
│ ├── DirLight.hlsl
│ ├── GBuffer.cpp
│ ├── GBuffer.h
│ ├── GBufferVis.hlsl
│ ├── LightManager.cpp
│ ├── LightManager.h
│ ├── PointLight.hlsl
│ ├── resource.h
│ ├── SceneManager.cpp
│ ├── SceneManager.h
│ ├── ShadowGen.hlsl
│ ├── SpotLight.hlsl
│ ├── SpotLightPCFShadows_2010.sln
│ ├── SpotLightPCFShadows_2010.vcxproj
│ ├── SpotLightPCFShadows_2010.vcxproj.filters
│ ├── SpotLightPCFShadows.cpp
│ ├── SpotLightPCFShadows.exe
│ └── SpotLightPCFShadows.rc
├── Chpater 4 - Post Processing
│ ├── Adaptation
│ │ ├── Adaptation_2010.sln
│ │ ├── Adaptation_2010.vcxproj
│ │ ├── Adaptation_2010.vcxproj.filters
│ │ ├── Adaptation.cpp
│ │ ├── Adaptation.exe
│ │ ├── Adaptation.rc
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ └── SpotLight.hlsl
│ ├── Bloom
│ │ ├── Bloom_2010.sln
│ │ ├── Bloom_2010.vcxproj
│ │ ├── Bloom_2010.vcxproj.filters
│ │ ├── Bloom.cpp
│ │ ├── Bloom.exe
│ │ ├── Bloom.rc
│ │ ├── Blur.hlsl
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ └── SpotLight.hlsl
│ ├── Bokeh
│ │ ├── Blur.hlsl
│ │ ├── Bokeh_2010.sln
│ │ ├── Bokeh_2010.vcxproj
│ │ ├── Bokeh_2010.vcxproj.filters
│ │ ├── Bokeh.cpp
│ │ ├── BokehCS.hlsl
│ │ ├── Bokeh.exe
│ │ ├── Bokeh.hlsl
│ │ ├── Bokeh.rc
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ └── SpotLight.hlsl
│ ├── Depth of Field
│ │ ├── Blur.hlsl
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── DepthOfField_2010.sln
│ │ ├── DepthOfField_2010.vcxproj
│ │ ├── DepthOfField_2010.vcxproj.filters
│ │ ├── DepthOfField.cpp
│ │ ├── DepthOfField.exe
│ │ ├── DepthOfField.rc
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ └── SpotLight.hlsl
│ └── HDR Rendering
│ ├── CapsuleLight.hlsl
│ ├── CascadedMatrixSet.cpp
│ ├── CascadedMatrixSet.h
│ ├── common.hlsl
│ ├── DeferredShading.hlsl
│ ├── directx.ico
│ ├── DirLight.hlsl
│ ├── Emissive.hlsl
│ ├── GBuffer.cpp
│ ├── GBuffer.h
│ ├── GBufferVis.hlsl
│ ├── HDRRendering_2010.sln
│ ├── HDRRendering_2010.vcxproj
│ ├── HDRRendering_2010.vcxproj.filters
│ ├── HDRRendering.cpp
│ ├── HDRRendering.exe
│ ├── HDRRendering.rc
│ ├── LightManager.cpp
│ ├── LightManager.h
│ ├── PointLight.hlsl
│ ├── PostDownScaleFX.hlsl
│ ├── PostFX.cpp
│ ├── PostFX.h
│ ├── PostFX.hlsl
│ ├── resource.h
│ ├── SceneManager.cpp
│ ├── SceneManager.h
│ ├── ShadowGen.hlsl
│ └── SpotLight.hlsl
├── Chpater 5 - Screen Space Effects
│ ├── Lens Flare
│ │ ├── Blur.hlsl
│ │ ├── BokehCS.hlsl
│ │ ├── Bokeh.hlsl
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LensFlare_2010.sln
│ │ ├── LensFlare_2010.suo
│ │ ├── LensFlare_2010.vcxproj
│ │ ├── LensFlare_2010.vcxproj.filters
│ │ ├── LensFlare.cpp
│ │ ├── LensFlare.exe
│ │ ├── Lensflare.hlsl
│ │ ├── LensflareManager.cpp
│ │ ├── LensflareManager.h
│ │ ├── LensFlare.rc
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ ├── SpotLight.hlsl
│ │ ├── SSAO.hlsl
│ │ ├── SSAOManager.cpp
│ │ └── SSAOManager.h
│ ├── Screen Space Ambient Occlusion
│ │ ├── Blur.hlsl
│ │ ├── BokehCS.hlsl
│ │ ├── Bokeh.hlsl
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ScreenSpaceAmbientOcclusion_2010.sln
│ │ ├── ScreenSpaceAmbientOcclusion_2010.vcxproj
│ │ ├── ScreenSpaceAmbientOcclusion_2010.vcxproj.filters
│ │ ├── ScreenSpaceAmbientOcclusion.cpp
│ │ ├── ScreenSpaceAmbientOcclusion.exe
│ │ ├── ScreenSpaceAmbientOcclusion.rc
│ │ ├── ShadowGen.hlsl
│ │ ├── SpotLight.hlsl
│ │ ├── SSAO.hlsl
│ │ ├── SSAOManager.cpp
│ │ └── SSAOManager.h
│ ├── Screen SpACE Light Rays
│ │ ├── Blur.hlsl
│ │ ├── BokehCS.hlsl
│ │ ├── Bokeh.hlsl
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ScreenSpaceLightRays_2010.sln
│ │ ├── ScreenSpaceLightRays_2010.vcxproj
│ │ ├── ScreenSpaceLightRays_2010.vcxproj.filters
│ │ ├── ScreenSpaceLightRays.cpp
│ │ ├── ScreenSpaceLightRays.exe
│ │ ├── ScreenSpaceLightRays.rc
│ │ ├── ShadowGen.hlsl
│ │ ├── SpotLight.hlsl
│ │ ├── SSAO.hlsl
│ │ ├── SSAOManager.cpp
│ │ ├── SSAOManager.h
│ │ ├── SSLR.hlsl
│ │ ├── SSLRManager.cpp
│ │ └── SSLRManager.h
│ └── Screen Space Reflections
│ ├── Blur.hlsl
│ ├── BokehCS.hlsl
│ ├── Bokeh.hlsl
│ ├── CapsuleLight.hlsl
│ ├── CascadedMatrixSet.cpp
│ ├── CascadedMatrixSet.h
│ ├── common.hlsl
│ ├── DeferredShading.hlsl
│ ├── directx.ico
│ ├── DirLight.hlsl
│ ├── Emissive.hlsl
│ ├── GBuffer.cpp
│ ├── GBuffer.h
│ ├── GBufferVis.hlsl
│ ├── Lensflare.hlsl
│ ├── LensflareManager.cpp
│ ├── LensflareManager.h
│ ├── LightManager.cpp
│ ├── LightManager.h
│ ├── PointLight.hlsl
│ ├── PostDownScaleFX.hlsl
│ ├── PostFX.cpp
│ ├── PostFX.h
│ ├── PostFX.hlsl
│ ├── resource.h
│ ├── SceneManager.cpp
│ ├── SceneManager.h
│ ├── ScreenSpaceReflections_2010.sln
│ ├── ScreenSpaceReflections_2010.vcxproj
│ ├── ScreenSpaceReflections_2010.vcxproj.filters
│ ├── ScreenSpaceReflections.cpp
│ ├── ScreenSpaceReflections.exe
│ ├── ScreenSpaceReflections.rc
│ ├── ShadowGen.hlsl
│ ├── SpotLight.hlsl
│ ├── SSAO.hlsl
│ ├── SSAOManager.cpp
│ ├── SSAOManager.h
│ ├── SSReflection.hlsl
│ ├── SSReflectionManager.cpp
│ └── SSReflectionManager.h
├── Chpater 6 - Environment Effects
│ ├── Dynamic Decals
│ │ ├── Blur.hlsl
│ │ ├── BokehCS.hlsl
│ │ ├── Bokeh.hlsl
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DecalGen.hlsl
│ │ ├── DecalManager.cpp
│ │ ├── DecalManager.h
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── DynamicDecals_2010.sln
│ │ ├── DynamicDecals_2010.suo
│ │ ├── DynamicDecals_2010.vcxproj
│ │ ├── DynamicDecals_2010.vcxproj.filters
│ │ ├── DynamicDecals.cpp
│ │ ├── DynamicDecals.exe
│ │ ├── DynamicDecals.rc
│ │ ├── Emissive.hlsl
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ScreenSpaceAmbientOcclusion_2010.suo
│ │ ├── ShadowGen.hlsl
│ │ ├── SpotLight.hlsl
│ │ ├── SSAO.hlsl
│ │ ├── SSAOManager.cpp
│ │ └── SSAOManager.h
│ ├── Fog
│ │ ├── Blur.hlsl
│ │ ├── BokehCS.hlsl
│ │ ├── Bokeh.hlsl
│ │ ├── CapsuleLight.hlsl
│ │ ├── CascadedMatrixSet.cpp
│ │ ├── CascadedMatrixSet.h
│ │ ├── common.hlsl
│ │ ├── DeferredShading.hlsl
│ │ ├── directx.ico
│ │ ├── DirLight.hlsl
│ │ ├── Emissive.hlsl
│ │ ├── Fog_2010.sln
│ │ ├── Fog_2010.vcxproj
│ │ ├── Fog_2010.vcxproj.filters
│ │ ├── Fog.cpp
│ │ ├── Fog.exe
│ │ ├── Fog.rc
│ │ ├── GBuffer.cpp
│ │ ├── GBuffer.h
│ │ ├── GBufferVis.hlsl
│ │ ├── LightManager.cpp
│ │ ├── LightManager.h
│ │ ├── PointLight.hlsl
│ │ ├── PostDownScaleFX.hlsl
│ │ ├── PostFX.cpp
│ │ ├── PostFX.h
│ │ ├── PostFX.hlsl
│ │ ├── resource.h
│ │ ├── SceneManager.cpp
│ │ ├── SceneManager.h
│ │ ├── ShadowGen.hlsl
│ │ ├── SpotLight.hlsl
│ │ ├── SSAO.hlsl
│ │ ├── SSAOManager.cpp
│ │ └── SSAOManager.h
│ └── Rain Simulation
│ ├── Blur.hlsl
│ ├── BokehCS.hlsl
│ ├── Bokeh.hlsl
│ ├── CapsuleLight.hlsl
│ ├── CascadedMatrixSet.cpp
│ ├── CascadedMatrixSet.h
│ ├── common.hlsl
│ ├── DeferredShading.hlsl
│ ├── directx.ico
│ ├── DirLight.hlsl
│ ├── Emissive.hlsl
│ ├── GBuffer.cpp
│ ├── GBuffer.h
│ ├── GBufferVis.hlsl
│ ├── LightManager.cpp
│ ├── LightManager.h
│ ├── PointLight.hlsl
│ ├── PostDownScaleFX.hlsl
│ ├── PostFX.cpp
│ ├── PostFX.h
│ ├── PostFX.hlsl
│ ├── RainManager.cpp
│ ├── RainManager.h
│ ├── RainShaders.hlsl
│ ├── RainSimulation_2010.sln
│ ├── RainSimulation_2010.vcxproj
│ ├── RainSimulation_2010.vcxproj.filters
│ ├── RainSimulation.cpp
│ ├── RainSimulationCS.hlsl
│ ├── RainSimulation.exe
│ ├── RainSimulation.rc
│ ├── resource.h
│ ├── SceneManager.cpp
│ ├── SceneManager.h
│ ├── ShadowGen.hlsl
│ ├── SpotLight.hlsl
│ ├── SSAO.hlsl
│ ├── SSAOManager.cpp
│ └── SSAOManager.h
└── Media
├── ball.sdkmesh
├── Bokeh.dds
├── bunny.sdkmesh
├── Corona.dds
├── Decal.dds
├── Flare.dds
├── Noise.dds
├── OutdoorColumns
│ ├── outdoor_columns.sdkmesh
│ └── white.dds
├── RainStreak.dds
├── Roadblock
│ ├── concrete_roadblock_d.dds
│ ├── roadblock.sdkmesh
│ └── road.dds
├── ScreenSpaceReflect
│ ├── floor.dds
│ ├── room.sdkmesh
│ ├── sphere.sdkmesh
│ └── white.dds
├── Streetlamp
│ ├── streetlamp_emissive.sdkmesh
│ ├── streetlamp.sdkmesh
│ └── white.dds
├── UI
│ ├── arrow.x
│ ├── dxutcontrols.dds
│ ├── DXUTShared.fx
│ └── Font.dds
└── white.dds
39 directories, 700 files
标签:
好例子网口号:伸出你的我的手 — 分享!
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论