CustomNearClippingPlane of UCineCameraComponent is new property in 5.1, but if use change this, it will also be reflected in the normal CameraComponent's NearClip.
This is because the PerspectiveNearClipPlane of DesiredView changed in UCineCameraComponent is not reset.
void UCineCameraComponent::GetCameraView(float DeltaTime, FMinimalViewInfo& DesiredView) { RecalcDerivedData(); Super::GetCameraView(DeltaTime, DesiredView); UpdateCameraLens(DeltaTime, DesiredView); DesiredView.PerspectiveNearClipPlane = bOverride_CustomNearClippingPlane ? CustomNearClippingPlane : -1.0f; bResetInterpolation = false; }
So adding DesiredView.PerspectiveNearClipPlane = -1.0f; in UCameraComponent::GetCameraView() etc. can solve this issue.
expect : see white plane
result : see 3
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-177410 in the post.
0 |
Component | UE - Anim - Sequencer |
---|---|
Affects Versions | 5.1 |
Target Fix | 5.3 |
Created | Feb 17, 2023 |
---|---|
Resolved | Mar 4, 2023 |
Updated | Apr 29, 2023 |