3.9.6 Specular Highlight

Utility Functions

guLookAtHilite and guLookAtHiliteF - Calculate the lookat viewing matrix, and set the light structure that sets the default color and the viewing direction. Then calculate the texture offsets of two specular highlights.

GBI Commands

gSPLookAt, gSPLookAtX, and gSPLookAtY - Load the 'lookat' structure to the RSP for specular highlights or reflection mapping.
gDPSetHilite1Tile and gDPSetHilite2Tile - Set the texture parameter in the RDP to be used when rendering the specular highlight.