Problem with Camera.FarClipDistance


11-03-2009 14:59:21

Hi all!
I've got some problems with the Camera's FarClipDistance property. I'm using the latest MOGRE release. As I create my camera, I set NearClipDistance to 5, and FarClipDistance to 100. Unfortunately when I use STENCIL shadows, no far clipping occurs, however near clipping works fine. What can be the problem?

public virtual void CreateCamera()
// Create the camera
camera = sceneMgr.CreateCamera("PlayerCam");
camera.NearClipDistance = 5;
camera.FarClipDistance = 100;