Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#ActualTispe

Posted 07 November 2013 - 01:59 AM

You need one view matrix for each light, and 6 for point lights.

 

Use D3DXMatrixLookAtLH, D3DXMatrixOrthoLH for directional lights for projection.


#1Tispe

Posted 07 November 2013 - 01:52 AM

You need one view matrix for each light, and 6 for point lights.

 

Use D3DXMatrixLookAtLH for point and spot lights, D3DXMatrixOrthoLH for directional lights.


PARTNERS