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.

Game Developer, Staff

November 24, 2011

1 Min Read
Game Developer logo in a gray background | Game Developer

Light Clipping Example.

Previous 

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.

Pictures Of Demo


ScreenR

Source Code: [LightClip]

*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:

Blogs
Daily news, dev blogs, and stories from Game Developer straight to your inbox

You May Also Like