My question is about setNearValue() function.My scene is very large,so distances between objects is a bit far.When i use RTT(render to texture) effects,sometimes i must put carmera far away from viewport,so i should set a larger Znear value,using camera->setNearValue(),then artifacts arised.
Picture 1 describe the situation that i set "camera->setNearValue(1900.0f)"
Picture 2 : "camera->setNearValue(1700.0f)"
Picture 3 : "camera->setNearValue(1200.0f)"
Picture 3 is right,so we can concluded that near clipping value would aspect the results,how to solve the problem?
Thanks. BTW,if the images can not be displayed, please copy and paste the link!
A bit more supplyment,
only when the RTT texture generation i set the larger clipping value,alternate i would change it back to render my scene use small value.