Processing Forum
Set the view transform Push the matrix stack Set the model transform to update the light’s position Set the light position //glLightfv(GL_LIGHT_POSITION,…) Pop the matrix stack Send down the scene or model geometry Swap buffers.