UE4直接设置FOV导致看不到部分物体解决
官方文档:https://docs.unrealengine.com/en-us/Engine/Rendering/VisibilityCulling
View Frustum
View Frustum culling uses the visible screen area of the camera’s field of view (FOV) to cull objects not within this space. The view frustum is a pyramidal shape that includes a near and far clipping plane which defines the closest and farthest any object should be visible within this space. All other objects are removed to save processing time.
UE4里FOV变化值比较大并且马上设置,可能直接设置FOV后导致看不到部分物体,原因:1、View Frustum(视锥体)检测物体 Bounds是否在视锥体里来是否剔除物体的,如果FOV变化值比较大并且马上设置,可能检测代码跳过当前帧没有重新刷新物体渲染状态,所以没有看到。2、引擎Visibility and Occlusion Culling功能优化剔除了该物体,可以增大物体 Bounds,但是性能消耗大。
解决:应该添加一个过渡动画值改变FOV或增大物体 Bounds
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
