GPU: Correct normalized zero normal proj map.

Unlike lighting, this does not use 0, 0, 1.
This commit is contained in:
Unknown W. Brackets committed 2022-09-26 15:11:11 -07:00
1 parent b3c0f177e2
commit 34a8056017
3 files changed
+5 -4

No files matched your search

+2 -1
View File
@@ -430,7 +430,8 @@ VertexData TransformUnit::ReadVertex(VertexReader &vreader, const TransformState
break;
case GE_PROJMAP_NORMALIZED_NORMAL:
source = normal.NormalizedOr001(cpu_info.bSSE4_1);
// This does not use 0, 0, 1 if length is zero.
source = normal.Normalized(cpu_info.bSSE4_1);
break;
case GE_PROJMAP_NORMAL: