A licensee reported that the world normal is not consistent on a skeletal mesh with SkinCache recompute tangent enabled. You could see the issue on the picture below. I upload the mesh in attachment.
The repro steps are:
I did some debug and suspected the issue is because of the following shader codes in RecomputeTangentsPerTrianglePass.usf
Orientation = (cp > 0) ? 1 : -1;
// Multiply by additional flip if the triangle had it's tangent space inverted
Orientation *= Corner[0].OriginalOrientation;
I did some change and it looks fine for now.
Orientation = (cp > 0) ? Corner[0].OriginalOrientation : -1 * abs(Corner[0].OriginalOrientation);
[Image Removed][Link Removed]
Request a info about UE-127172 bug tracker
How does TextureRenderTarget2D get TArray<uint8> type data?
How do I set a material as a post-processing material?
Why does the REMOVE method of map container remove elements have memory leaks?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How to delete some elements correctly when deleting an array loop?
How would I go about lerping the rotation instead of it snapping when turning (pls dont sue me epic)
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-139523 in the post.
0 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.27, 5.0 |
Created | Jan 19, 2022 |
---|---|
Updated | Jan 24, 2024 |