mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 18:53:58 +01:00
GPU: Normalize 0 to 1 always in software lighting.
See #14167. This seems to be consistent.
This commit is contained in:
1 parent
5d4d8ab418
commit
2f63f9999d
6 files changed
+50
-20
No files matched your search
@@ -18,6 +18,7 @@
|
||||
#include <cmath>
|
||||
#include <algorithm>
|
||||
|
||||
#include "Common/CPUDetect.h"
|
||||
#include "Common/Math/math_util.h"
|
||||
#include "Common/MemoryUtil.h"
|
||||
#include "Core/Config.h"
|
||||
@@ -256,7 +257,7 @@ VertexData TransformUnit::ReadVertex(VertexReader& vreader)
|
||||
break;
|
||||
|
||||
case GE_PROJMAP_NORMALIZED_NORMAL:
|
||||
source = vertex.normal.Normalized();
|
||||
source = vertex.normal.NormalizedOr001(cpu_info.bSSE4_1);
|
||||
break;
|
||||
|
||||
case GE_PROJMAP_NORMAL:
|
||||
|
||||
Reference in new issue
Block a user