#how can I fix the transparent part from the player model
1 messages · Page 1 of 1 (latest)
not working...
Add child camera that specifically renders the player model using layers and disable that layer rendering on the main camera
it worked for me dont know about u
This is due to "Near Clipping Planes", a camera in Unity will only render what is above the near clipping value and the far clipping value, youll have to change the near value to a lower value if you want to see more of your model without clipping, however this value can only go so low (I think 0.01), which for getting really close to some objects (especially those with animations) might not be low enough - if you just want to fix the clipping, you can push your camera more forward to be positioned beyond the point it would clip, but this also means you would see less of your model, alternatively, what a lot of FPS games do, is they separate the head from the rest of the mesh and hide the head, then the camera can sit where the head would which is high enough to not clip the mesh in most cases
thx man 
Do keep in mind though that having a tiny near clipping plane value can make it so that in some situations objects that are fairly close dont have as much precision in the depth buffer as they need, and can cause z fighting or clipping problems
0.01 probably wont cause too many noticable problems
but if you can, just remove your characters head, fill the top in blender and put the camera above that so you can have a slightly larger clipping plane
even .1 will help a lot because depth precision is reciprocal to distance https://www.sjbaker.org/steve/omniv/love_your_z_buffer.html