Hi, camera goes into model when it get near to it but still there is significant distance, how can i fix it? as like in blender camera gets into models when there is no more distance between them i want same effect.
1 Like
Decrease “near” view plane distance. I think by default it is 1, change it to something lower like 0.1
float aspect = (float)camera.getWidth() / (float)camera.getHeight();
camera.setFrustumPerspective(fieldOfView, aspect, near, far);
4 Likes
thank you :))
3 Likes