Fixed Skybox not rendering

Former-commit-id: e2b40de7b096853edca855df6824f4c832d78bcc
This commit is contained in:
Lynix 2013-09-06 23:29:48 +02:00
parent 1dd25f4e73
commit 7d2981d9a2
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ namespace
}
program->SendInteger(program->GetUniformLocation("Skybox"), 0);
program->SendFloat(program->GetUniformLocation(nzShaderUniform_VertexDepth), 1.f);
return program.release();
}