diff options
Diffstat (limited to 'src/GPU3D.cpp')
-rw-r--r-- | src/GPU3D.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/GPU3D.cpp b/src/GPU3D.cpp index de2916c..0f700d9 100644 --- a/src/GPU3D.cpp +++ b/src/GPU3D.cpp @@ -1001,6 +1001,7 @@ s32 CalculateLighting() // according to some hardware tests // * diffuse level is saturated to 255 // * shininess level mirrors back to 0 and is ANDed with 0xFF, that before being squared + // TODO: check how it behaves when the computed shininess is >=0x200 s32 difflevel = (-(LightDirection[i][0]*normaltrans[0] + LightDirection[i][1]*normaltrans[1] + |