SLI Zone
NVIDIA.com Developer Home


The sample shows how to simulate and animate different kinds of lighting effects using DirectX10 features. The structure of a lightning beam is created by using fractal subdivision of line segments, efficiently implemented using geometry shaders and stream out. A geometry shader is then used to create camera facing billboards with a procedurally created color gradient. The atmospheric glow effect is implemented by downsampling and blurring the rendered bolts of lighting using a Gaussian filter kernel with separate extinction coefficients per color channel in order to fake atmospheric scattering.

Lightning Sample
SDK 10
Tools Page


Posted on Jul 17, 2007

NVISION 2008