Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualMedo3337

Posted 07 November 2013 - 11:08 PM

@Tom KQT: How do I determine which light is CURRENTLY casting shadow? I'll mostly be having 2 directional lights out door, and several point lights indoor.

 

Another thing, to create shadow map for directional light I know how to create the projection matrix, however, how can I create the view matrix using D3DXMatrixLookAtLH()? I only have the light direction.


#1Medo3337

Posted 07 November 2013 - 06:20 PM

@Tom KQT: So, how do I determine which light is CURRENTLY casting shadow? I'll mostly be having 2 directional lights out door, and bunches of point lights indoor.


PARTNERS