Sponsored By
3D Game Development (AlwynD3DFramework): Light Clipping Example
This shows how to render multiple lights on the CPU, but only the first closest 10, get written to the GPU and are active.
1 Min Read
Light Clipping Example.
This example demonstrates how to enable lighting via the GPU, and will also only write the first closest 10 lights within range of a certain radius to the GPU via HLSL.
*First extract the Libraries in AlwynD3Dframework as described in the README, which will contain the DLL’s, Headers and Libraries required, *except DirectX 10 SDk (June 2010), which must be obtained from Microsoft MSDN download.
Then the textures and models need to be extracted in place for the demonstration required.
*(In the textures/models folder)
Read more about:
BlogsAbout the Author
Daily news, dev blogs, and stories from Game Developer straight to your inbox
You May Also Like