I've been experimenting issues with performance for some time now. Today I tried to add a function which changes camera FarValue depending on the fps.
First of all I tried to change between 2 fixed values when fps where above or below 25 and it worked as expected. But as I was also expecting, when the lower value was used, frame rate got up and farValue changed again on the next frame producing an horrendous flickering.
I then tried to change the values gradually, so I put a "camera->setFarValue(farcam)" in the loop and made the function change the farcam value gradually depending on the fps. The problem is that when I do it this way it does not work and the camera uses the same value constantly.
I would highly appreciate any help
EDIT:
I forgot the zbuffer question :p
Is there a way to force the 24 or 32 bit zbuffer from irrlicht? I'm asking this because I have noticed that intel gma cards use 16 bit zbuffer unless you force them to use 24 bit in the driver.
Thanks!