Improved examples
This commit is contained in:
parent
450f0645ed
commit
c041bb4f79
1 changed files with 3 additions and 6 deletions
|
|
@ -43,7 +43,7 @@ int main()
|
|||
skybox.material.shader.locs[LOC_MATRIX_VIEW] = GetShaderLocation(skybox.material.shader, "view");
|
||||
|
||||
// Then before rendering, configure the viewport to the actual screen dimensions
|
||||
Matrix proj = MatrixPerspective(45.0, (double)GetScreenWidth()/(double)GetScreenHeight(), 0.01, 1000.0);
|
||||
Matrix proj = MatrixPerspective(60.0, (double)GetScreenWidth()/(double)GetScreenHeight(), 0.01, 1000.0);
|
||||
MatrixTranspose(&proj);
|
||||
SetShaderValueMatrix(skybox.material.shader, skyProjectionLoc, proj);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue