World disappearing when render view is far away from player
0 replies, posted
Hey everyone,
I discovered a quite weird bug, which is connected with a view different to the players position. In my addon Supersheep, the sheep can be remote controlled from the player. It works completely fine, but if the player stands on a point, where the sheep isn't in his PVS, world faces are getting invisible (e.g. in a closed room). This guy here got the same problem 8 years ago :P World faces disappearing with render.RenderView
picture:
https://imgur.com/a/vFHoI0B
However, the faces are appearing again when close enough:
https://imgur.com/a/lmAj1DJ
What i have tried:
Adding the entity to the PVS with SetupPlayerVisibility
Using CalcView
Using render.RenderView
It seems like its a optimization problem, caused of some kind of culling (view frustum + occlusion or something)
Have anyone of you experienced anything like that?
Thanks
Sorry, you need to Log In to post a reply to this thread.