PicaDataFragLightEnvLutInput Enumerated Type

Syntax

enum PicaDataFragLightEnvLutInput;

Value

Value Description
PICA_DATA_FRAG_LIGHT_ENV_NH_DMP The cosine of the angle between the normal and the half vector.
PICA_DATA_FRAG_LIGHT_ENV_VH_DMP The cosine of the angle between the line of sight and the half vector.
PICA_DATA_FRAG_LIGHT_ENV_NV_DMP The cosine of the angle between the normal and the line of sight.
PICA_DATA_FRAG_LIGHT_ENV_LN_DMP The cosine of the angle between the light vector and the normal.
PICA_DATA_FRAG_LIGHT_ENV_SP_DMP The cosine of the angle between the reciprocal vector of the light vector and the spotlight's directional vector.
PICA_DATA_FRAG_LIGHT_ENV_CP_DMP The cosine of the angle between the projection of the half vector of the tangent plane and the tangent.

Description

Used for the PICA_REG_FRAG_LIGHT_LUTINPUT register (0x1d1), which is used for setting lookup table entries. This corresponds to setting the dmp_LightEnv.lutInput* uniform.

Revision History

2010/09/27
Initial version.

CONFIDENTIAL