Outdoor Light Scattering Sample
C++ C Other
Permalink
Failed to load latest commit information.
CPUT Sample update Sep 20, 2013
Terrain Sample update Sep 20, 2013
fx Fixed shadow acne in fully lit surfaces Oct 17, 2013
media
.gitattributes
.gitignore First commit Jun 28, 2013
Default_Config.txt
Intel Sample Source Code License.txt First commit Jun 28, 2013
LightSctrPostProcess.cpp Misc updates Oct 3, 2013
LightSctrPostProcess.h
OutdoorLightScattering.cpp
OutdoorLightScattering.h
OutdoorLightScattering.ico First commit Jun 28, 2013
OutdoorLightScatteringSample_32.exe Misc updates Oct 3, 2013
OutdoorLightScatteringSample_64.exe
OutdoorLightScattering_2010.rc First commit Jun 28, 2013
OutdoorLightScattering_2010.sln
OutdoorLightScattering_2010.vcxproj
OutdoorLightScattering_2010.vcxproj.filters First commit Jun 28, 2013
OutdoorLightScattering_2012.sln First commit Jun 28, 2013
OutdoorLightScattering_2012.vcxproj Sample update Sep 20, 2013
OutdoorLightScattering_2012.vcxproj.filters First commit Jun 28, 2013
RenderTechnique.cpp
RenderTechnique.h
ShaderMacroHelper.h First commit Jun 28, 2013
readme.txt
resource.h First commit Jun 28, 2013
small.ico
stdafx.h First commit Jun 28, 2013

readme.txt

Intel Corporation - Outdoor Light Scattering Sample

This sample shows how high-quality light scattering effects in large outdoor environments can be rendered on Intel HD graphics in real time. The technique extends the approach shown in the previously published sample and exploits the same main ideas. Epipolar sampling helps minimize the number of samples for which expensive ray marching algorithm is executed while 1D min/max binary trees are used to accelerate computations.

In this sample, a more complex physical model is exploited to simulate light propagation in the atmosphere. It assumes that the planet is spherical and that the particle density decreases exponentially with the altitude computed with respect to the planet surface. To facilitate shadows in large outdoor environments, cascaded shadow maps are used. Scattering contribution from each cascade is computed and accumulated to obtain the final result.

Note: “Media Elements” are the images, clip art, animations, sounds, music, shapes, video clips, 2D Images, 2D and 3D Mesh’s and mesh data, animation and animation data, and Textures included in the software. This license does not grant you any rights in the Media Elements and you may not reproduce, prepare derivative works, distribute, publicly display, or publicly perform the Media Elements.

Note: The source code sample is provided under the BSD license.  See the license folder within the sample source directory for additional details.