mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
GPU: Correct normalized zero normal proj map.
Unlike lighting, this does not use 0, 0, 1.
This commit is contained in:
1 parent
b3c0f177e2
commit
34a8056017
3 files changed
+5
-4
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user