better shadow
This commit is contained in:
parent
64de49cf99
commit
3c04af7e09
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ GSBool GSGLShadowBeforeMapping(GSGL gl) {
|
||||||
if(gl->engine->client->light0[3]) {
|
if(gl->engine->client->light0[3]) {
|
||||||
GSGLCameraPerspective(gl, GSGLMaxShadowDistance, GSGLMaxShadowDistance);
|
GSGLCameraPerspective(gl, GSGLMaxShadowDistance, GSGLMaxShadowDistance);
|
||||||
} else {
|
} else {
|
||||||
glOrtho(-10, 10, -10, 10, -10, 20);
|
glOrtho(-5, 5, -5, 5, -5, 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
glGetDoublev(GL_PROJECTION_MATRIX, gl->shadow_projection);
|
glGetDoublev(GL_PROJECTION_MATRIX, gl->shadow_projection);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue