   How to set zFar?
  Is it possible to change zFar after calling gluPerspective/glFrustum, or can I make certain objects (in this case my skybox) ignore the far clipping plane?EDIT: Hmm, could calling glDisable(GL_DEPTH_TEST), drawing the skybox and then calling glEnable(GL_DEPTH_TEST) work? Or something like that?   
  For the Skybox I suggest rendering a Box centered at the camera at the size of 1.0f or 2.0f (so very small) with disabled z writing. This in the end looks like it has the size of infinity, but there are no problems with blocky textures, etc.Edit: Yes, that would be the way I use it everytime   ;  glDisable(GL_DEPTH_TEST);   //disable reading of z-depthor glDepthMask(false);//disable writing of z-depth.Cheers! =)   ;  Alright, thank you.   ;  The downside is of course that you first fill the whole screen with the skybox and  then overwrite most of it with other stuff. Nothing is keeping you from doing the box last. Million ways to do it. One is obviously to center it around the camera and give it the right size (ie. far plane - very small number).   ;  normally u wanna draw the skybox last (but before the blended stuff);to make sure the skybox is drawn behind all other gemetry calldepthtest is enabled but depthwrites are notglDepthRange(1,1);draw skyboxglDepthRange(0,1);   ;  From Depth_In-Depth ati guide:"One of the issues in changing existing code rendering the skybox first to rendering it last is that the boxwill usually get clipped in the corners by the far clipping plane and/or by previously-rendered geometry.This may happen because the skybox is modeled by an artist and has a fixed size, but even aprogrammer generated skybox may see issues like this. Instead of pushing the far clipping plane back asolution to these issues is to leave the far clipping plane untouched and instead simply peg the depth ofthe skybox to the far clipping plane. There are different methods to achieve this. The perspective divideproduces a depth value of z / w, and the far clipping plane is always at depth 1.0, so one method to pegan object to the far plane would be to arrange for z to be equal to w. This can be done in a vertex shaderby simply assigning w to z after transformation as the following code fragment shows:// Out.position = mul(mvp, vertex);Out.position = mul(mvp, vertex).xyww;The only change necessary is to add the .xyww swizzle in the end. As a bonus, this compiles down tojust three instructions instead of four."   