summaryrefslogtreecommitdiffstats
path: root/src/video_core/regs_lighting.h
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-05-25 20:13:33 +0200
committerwwylele <wwylele@gmail.com>2017-06-11 20:30:53 +0200
commit40b7d0bf3f7bf4f29c1866231a79e0a751e30274 (patch)
tree7f5eb14962979041c168f3c00a88e27d3f98c2d6 /src/video_core/regs_lighting.h
parentMerge pull request #2727 from wwylele/spot-light (diff)
downloadyuzu-40b7d0bf3f7bf4f29c1866231a79e0a751e30274.tar
yuzu-40b7d0bf3f7bf4f29c1866231a79e0a751e30274.tar.gz
yuzu-40b7d0bf3f7bf4f29c1866231a79e0a751e30274.tar.bz2
yuzu-40b7d0bf3f7bf4f29c1866231a79e0a751e30274.tar.lz
yuzu-40b7d0bf3f7bf4f29c1866231a79e0a751e30274.tar.xz
yuzu-40b7d0bf3f7bf4f29c1866231a79e0a751e30274.tar.zst
yuzu-40b7d0bf3f7bf4f29c1866231a79e0a751e30274.zip
Diffstat (limited to 'src/video_core/regs_lighting.h')
-rw-r--r--src/video_core/regs_lighting.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/regs_lighting.h b/src/video_core/regs_lighting.h
index fbfebc0a7..f383b8b4f 100644
--- a/src/video_core/regs_lighting.h
+++ b/src/video_core/regs_lighting.h
@@ -84,7 +84,7 @@ struct LightingRegs {
NV = 2, // Cosine of the angle between the normal and the view vector
LN = 3, // Cosine of the angle between the light and the normal vectors
SP = 4, // Cosine of the angle between the light and the inverse spotlight vectors
- CP = 5, // TODO: document and implement
+ CP = 5, // Cosine of the angle between the tangent and projection of half-angle vectors
};
enum class LightingBumpMode : u32 {