gl_rasterizer/lighting: implement lut input 5 (CP)

This commit is contained in:
wwylele 2017-05-25 21:13:33 +03:00
parent 39c7c1f580
commit 40b7d0bf3f
2 changed files with 26 additions and 3 deletions

View file

@ -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 {