git-svn-id: svn://db.shs.com.ru/libs@638 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -213,7 +213,7 @@ void GLRendererBase::renderShadow(Light * l, QOpenGLShaderProgram * prog, QMatri
|
||||
cam.setDepthStart(view->camera()->depthStart());
|
||||
cam.setDepthEnd(view->camera()->depthEnd());
|
||||
cam.setFOV(l->angle_end);
|
||||
cam.apply(1.);
|
||||
//cam.apply(1.);
|
||||
/*cam.rotateXY(l->angle_end);
|
||||
QVector3D rdir = l->direction * cos(l->angle_end / 2. * deg2rad);
|
||||
l->dir0 = cam.direction() - rdir;
|
||||
|
||||
Reference in New Issue
Block a user