Skybox error and Camera projection range


Problem 1:
Help me understand the scope of the camera projection?
I’m setting the variables with: INFINITY, but the result remains the same. See picture:


I’m using it like this:

var camera = new THREE.PerspectiveCamera(70, largura / altura, 0.2, infinity);

CameraOrbital.maxDistance = infinity;

Problem 2:
As you can see I put a skybox. Note that the image does not accentuate the projection of the camera and the corners are very visible (it is known that there is a corner).
I know I could make the skybox follow the camera but I think it would look very strange in the middle of the map. Is there any way to fix this?

Infinity is no valid number for a camera’s far property. It’s not possible to construct a projection matrix with such a value.

You right. After reload the browser the console show. Even so, i’m put a value of 500000 to far and the problem persist.

This value is still too high. Typical properties for near and far are 0.1 and 1000 or 1 and 10000.

OK thancks.