Ignore:
Timestamp:
09/16/08 16:03:01 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ShadowMapping.cpp

    r2951 r2952  
    137137 
    138138 
    139 ShadowMap::ShadowMap(Light *light, int size, const AxisAlignedBox3 &sceneBox, Camera *cam): 
     139ShadowMap::ShadowMap(DirectionalLight *light, int size, const AxisAlignedBox3 &sceneBox, Camera *cam): 
    140140mSceneBox(sceneBox), mSize(size), mCamera(cam), mLight(light) 
    141141{ 
     
    456456        const Vector3 projViewDir = GetProjViewDir(lightView * lightProj, frustumPoints); 
    457457 
    458         //do Light Space Perspective shadow mapping 
     458        //do DirectionalLight Space Perspective shadow mapping 
    459459        //rotate the lightspace so that the projected light view always points upwards 
    460460        //calculate a frame matrix that uses the projViewDir[lightspace] as up vector 
Note: See TracChangeset for help on using the changeset viewer.