PDA

View Full Version : Which values do I need to extract for light frustum?



Mars_999
04-25-2006, 03:32 PM
First do I need to get my values from the modelProjectionMatrix that I load after I position my light used for shadowmapping, or modelViewMatrix? I want to render a cube showing where my frutsum is pointing at and what it is covering. So after I get the correct matrix which values correspond to xyz for all 8 points? Thanks