summaryrefslogtreecommitdiffstats
path: root/src/video_core/regs_lighting.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-06-15 05:08:26 +0200
committerGitHub <noreply@github.com>2017-06-15 05:08:26 +0200
commitda1bec121a252aa0fe17dbc80bfad2d0423e342c (patch)
tree4e2bfbc17000c9cda10804f26b2bcbe34dd410da /src/video_core/regs_lighting.h
parentMerge pull request #2743 from wwylele/wrap-fix (diff)
parentgl_rasterizer/lighting: Implement tangent mapping (diff)
downloadyuzu-da1bec121a252aa0fe17dbc80bfad2d0423e342c.tar
yuzu-da1bec121a252aa0fe17dbc80bfad2d0423e342c.tar.gz
yuzu-da1bec121a252aa0fe17dbc80bfad2d0423e342c.tar.bz2
yuzu-da1bec121a252aa0fe17dbc80bfad2d0423e342c.tar.lz
yuzu-da1bec121a252aa0fe17dbc80bfad2d0423e342c.tar.xz
yuzu-da1bec121a252aa0fe17dbc80bfad2d0423e342c.tar.zst
yuzu-da1bec121a252aa0fe17dbc80bfad2d0423e342c.zip
Diffstat (limited to '')
-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 {